MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / trim

Method trim

src/main/java/net/optifine/util/StrUtils.java:765–777  ·  view source on GitHub ↗
(String str, String chars)

Source from the content-addressed store, hash-verified

763 }
764
765 public static String trim(String str, String chars)
766 {
767 if (str != null && chars != null)
768 {
769 str = trimLeading(str, chars);
770 str = trimTrailing(str, chars);
771 return str;
772 }
773 else
774 {
775 return str;
776 }
777 }
778
779 public static String trimLeading(String str, String chars)
780 {

Callers 15

printLogInfoMethod · 0.95
printShaderLogInfoMethod · 0.95
getValueVec4Method · 0.95
parseFormatMethod · 0.80
parseTextureMethod · 0.80
makeSummaryMethod · 0.80
parseScaleModeMethod · 0.80
parseScaleMethod · 0.80
readColorMethod · 0.80
parseColorMethod · 0.80
makeTextureAnimationMethod · 0.80
parseItemsMethod · 0.80

Calls 2

trimLeadingMethod · 0.95
trimTrailingMethod · 0.95

Tested by

no test coverage detected