Replace string.strip() with string.trim()

This commit is contained in:
James Seibel
2022-03-03 19:34:09 -06:00
parent e41b19ba2e
commit 2149da59df
@@ -116,7 +116,7 @@ public final class GLMessage {
}
public GLMessage add(String str) {
str = str.replaceAll("^[ \t]+|[ \t]+$", ""); // TODO: Check this as String.strip() dosnt exist in java 8
str = str.trim();
if (str.isEmpty()) return null;
boolean b = runStage(str);
if (b && stage >= 16) {