Removed debugging code and fixed method signature.

This commit is contained in:
Krazy
2014-08-13 03:42:04 +00:00
parent d54b421c87
commit db68cb4b3b

View File

@@ -124,7 +124,7 @@ public class SFilterUtil {
parse();
}
private boolean parse() {
private void parse() {
Tokenizer tokenizer = new Tokenizer(text);
@@ -170,8 +170,6 @@ public class SFilterUtil {
stack.push(currentValue.trim());
}
return false;
}
private void pushTokenToStack(String token) {
@@ -234,7 +232,6 @@ public class SFilterUtil {
currentOperation = Operation.OR;
} else if (stackItem.equals(Operation.NOT.token)) {
if (outputRules == null) {
System.out.println("Could not parse");
return null;
}
outputRules = Predicates.not(outputRules);