String equals

This commit is contained in:
Jared committed 2016-08-22 12:31:42 +02:00
1 parent fdeaf3b163
commit 23cc4f1236
2 files changed
+12 -12

No files matched your search

@@ -194,8 +194,8 @@ public class StringUtil {
if ((oldstr.charAt(0) != '"' || oldstr.charAt(oldstr.length() - 1) != '"')
&& (oldstr.charAt(0) != '\'' || oldstr.charAt(oldstr.length() - 1) != '\'')) {
// TODO: error
// throw new TweakerExecuteException("Not a valid string constant: "
// + oldstr);
// throw new TweakerExecuteException("Not a valid string constant: "
// + oldstr);
}
oldstr = oldstr.substring(1, oldstr.length() - 1);