Update the code

This commit is contained in:
Frank Tao 2021-08-28 13:29:00 -04:00
parent 88d535c608
commit 3f128be34d
1 changed files with 1 additions and 2 deletions

View File

@ -1017,8 +1017,7 @@ public class QueryStack {
modifier = id.getModifier(); modifier = id.getModifier();
// for :not modifier, create a token and remove the :not modifier // for :not modifier, create a token and remove the :not modifier
if (modifier != null && modifier == TokenParamModifier.NOT) { if (modifier != null && modifier == TokenParamModifier.NOT) {
IQueryParameterType notToken = new TokenParam(((TokenParam) nextOr).getSystem(), ((TokenParam) nextOr).getValue()); tokens.add(new TokenParam(((TokenParam) nextOr).getSystem(), ((TokenParam) nextOr).getValue()));
tokens.add(notToken);
paramInverted = true; paramInverted = true;
} else { } else {
tokens.add(nextOr); tokens.add(nextOr);