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:
parent
a7aed7bc63
commit
fd2ee64c9f
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user