Fix unexpected Groovy side effects (e.g. Set += String)

This commit is contained in:
Reinhard Pointner 2016-03-26 10:32:23 +00:00
parent a7aed7bc63
commit fd2ee64c9f
1 changed files with 0 additions and 4 deletions

View File

@ -422,10 +422,6 @@ public class ExpressionFormatMethods {
return Locale.forLanguageTag(self);
}
public static String plus(Object self, String value) {
return self.toString() + value;
}
public static String plus(String self, Closure<?> closure) {
try {
return self + closure.call();