summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2006-11-23 02:52:47 +0000
committerBrian S. O'Neill <bronee@gmail.com>2006-11-23 02:52:47 +0000
commite722350c060728a241695c41cafd6e49dd7b609d (patch)
tree895a6c995a4e4d89e42df472a0abce14bc1d0773
parent0ece63c797c344a51705fce885b48a84c4a94441 (diff)
Remove vestigial parsing of colon character.
-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;