From fd2ee64c9f36d9170edd82d7a0cb5af6e763c0e6 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 26 Mar 2016 10:32:23 +0000 Subject: [PATCH] Fix unexpected Groovy side effects (e.g. Set += String) --- source/net/filebot/format/ExpressionFormatMethods.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/net/filebot/format/ExpressionFormatMethods.java b/source/net/filebot/format/ExpressionFormatMethods.java index afa0747a..776b7a3e 100644 --- a/source/net/filebot/format/ExpressionFormatMethods.java +++ b/source/net/filebot/format/ExpressionFormatMethods.java @@ -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();