Oops, commited syntax errors.

This commit is contained in:
Kevin Ruland 2012-09-19 02:49:02 +00:00
parent 12b3211def
commit e68fbafde9

View File

@ -221,8 +221,9 @@ public class CustomExpression implements Cloneable{
} }
public boolean checkSymbol(){ public boolean checkSymbol(){
if (StringUtil.isEmpty(symbol) if (StringUtil.isEmpty(symbol)) {
return false; return false;
}
// No bad characters // No bad characters
for (char c : "0123456789.,()[]{}<>:#@%^&*$ ".toCharArray()) for (char c : "0123456789.,()[]{}<>:#@%^&*$ ".toCharArray())
@ -247,8 +248,9 @@ public class CustomExpression implements Cloneable{
} }
public boolean checkName(){ public boolean checkName(){
if (StringUtil.isEmpty(name) if (StringUtil.isEmpty(name)) {
return false; return false;
}
// No characters that could mess things up saving etc // No characters that could mess things up saving etc
for (char c : ",()[]{}<>#$".toCharArray()) for (char c : ",()[]{}<>#$".toCharArray())