From 73bf6959ddf2638320613bf201375346b2140c51 Mon Sep 17 00:00:00 2001 From: James Ahlborn Date: Wed, 30 May 2018 04:18:02 +0000 Subject: cleanup some fixmes git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1158 f203690c-595d-4dc9-a70b-905162fa7fd2 --- .../com/healthmarketscience/jackcess/impl/expr/Expressionator.java | 5 +---- 1 file changed, 1 insertion(+), 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 ), but not constants - return val.getAsBoolean(); } } -- cgit v1.2.3