mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Removed debugging code and fixed method signature.
This commit is contained in:
@@ -124,7 +124,7 @@ public class SFilterUtil {
|
|||||||
parse();
|
parse();
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean parse() {
|
private void parse() {
|
||||||
|
|
||||||
Tokenizer tokenizer = new Tokenizer(text);
|
Tokenizer tokenizer = new Tokenizer(text);
|
||||||
|
|
||||||
@@ -170,8 +170,6 @@ public class SFilterUtil {
|
|||||||
stack.push(currentValue.trim());
|
stack.push(currentValue.trim());
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void pushTokenToStack(String token) {
|
private void pushTokenToStack(String token) {
|
||||||
@@ -234,7 +232,6 @@ public class SFilterUtil {
|
|||||||
currentOperation = Operation.OR;
|
currentOperation = Operation.OR;
|
||||||
} else if (stackItem.equals(Operation.NOT.token)) {
|
} else if (stackItem.equals(Operation.NOT.token)) {
|
||||||
if (outputRules == null) {
|
if (outputRules == null) {
|
||||||
System.out.println("Could not parse");
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
outputRules = Predicates.not(outputRules);
|
outputRules = Predicates.not(outputRules);
|
||||||
|
|||||||
Reference in New Issue
Block a user