1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 16:58:51 -05:00

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

View File

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