summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/amazon/carbonado')
-rw-r--r--src/main/java/com/amazon/carbonado/filter/FilterParser.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/amazon/carbonado/filter/FilterParser.java b/src/main/java/com/amazon/carbonado/filter/FilterParser.java
index 5c483e0..baf264d 100644
--- a/src/main/java/com/amazon/carbonado/filter/FilterParser.java
+++ b/src/main/java/com/amazon/carbonado/filter/FilterParser.java
@@ -164,7 +164,7 @@ class FilterParser<S extends Storable> {
}
operatorCheck();
break;
- case '?': case ':':
+ case '?':
mPos--;
throw error("Relational operator missing");
case -1:
@@ -189,7 +189,7 @@ class FilterParser<S extends Storable> {
mPos--;
switch (c) {
case -1:
- case '?': case ':':
+ case '?':
case '(': case ')':
case ' ': case '\r': case '\n': case '\t': case '\0':
return;