MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / stringValidate

Method stringValidate

src/main/java/gregapi/util/UT.java:1504–1504  ·  view source on GitHub ↗
(Object aString)

Source from the content-addressed store, hash-verified

1502 }
1503
1504 public static String stringValidate(Object aString) {return stringValidate(aString, "");}
1505 public static String stringValidate(Object aString, String aReplacement) {
1506 if (aString == null) return aReplacement;
1507 if (aString instanceof BiomeGenBase) return ((BiomeGenBase)aString).biomeName;

Callers 4

getDamageSourceMethod · 0.80
getDeathMessageMethod · 0.80
waterstreamMethod · 0.80
generateMethod · 0.80

Calls 2

toStringMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected