aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/healthmarketscience/jackcess/impl/expr/Expressionator.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/impl/expr/Expressionator.java b/src/main/java/com/healthmarketscience/jackcess/impl/expr/Expressionator.java
index f92fc5d..75b7950 100644
--- a/src/main/java/com/healthmarketscience/jackcess/impl/expr/Expressionator.java
+++ b/src/main/java/com/healthmarketscience/jackcess/impl/expr/Expressionator.java
@@ -422,8 +422,7 @@ public class Expressionator
ExpressionTokenizer.tokenize(exprType, exprStr, context));
if(tokens == null) {
- // FIXME, NULL_EXPR?
- return null;
+ throw new ParseException("null/empty expression");
}
TokBuf buf = new TokBuf(exprType, tokens, context);
@@ -2063,8 +2062,6 @@ public class Expressionator
throw new EvalException("Condition evaluated to Null");
}
- // FIXME, access seems to type coerce all "fields" (including <this>), but not constants
-
return val.getAsBoolean();
}
}