diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2018-05-30 04:18:02 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2018-05-30 04:18:02 +0000 |
commit | 73bf6959ddf2638320613bf201375346b2140c51 (patch) | |
tree | d2902c0a0c85e99126a8251d1a4f28fa034b4b6e | |
parent | 0d100404106955bad3382a78456ea6162984403b (diff) | |
download | jackcess-73bf6959ddf2638320613bf201375346b2140c51.tar.gz jackcess-73bf6959ddf2638320613bf201375346b2140c51.zip |
cleanup some fixmes
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1158 f203690c-595d-4dc9-a70b-905162fa7fd2
-rw-r--r-- | src/main/java/com/healthmarketscience/jackcess/impl/expr/Expressionator.java | 5 |
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(); } } |