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