#1738 - Refactor simplify switch and various

This commit is contained in:
rob bygrave committed 2019-06-28 23:48:03 +12:00
1 parent e6c9f151c1
commit 8bfae9deef
17 files changed
+40 -79

No files matched your search

@@ -261,10 +261,7 @@ class EqlAdapter<T> extends EQLBaseListener {
}
private boolean isValue(String text) {
if (text.length() == 1 && (text.equals("(") || text.equals(")") || text.equals(","))) {
return false;
}
return true;
return text.length() != 1 || (!text.equals("(") && !text.equals(")") && !text.equals(","));
}
@Override