Replace deprecated constant
This commit is contained in:
parent
441c069bc5
commit
95756bf11f
@ -46,7 +46,7 @@ public class Trim implements Function {
|
||||
if (args.length == 1) {
|
||||
Object s1 = args[0];
|
||||
if (s1 != null && s1 instanceof String) {
|
||||
return CharMatcher.WHITESPACE.trimFrom((String) s1);
|
||||
return CharMatcher.whitespace().trimFrom((String) s1);
|
||||
}
|
||||
}
|
||||
return new EvalError("Invalid parameters");
|
||||
|
Loading…
Reference in New Issue
Block a user