Skip to content

Commit

Permalink
Merge pull request #505 from eclipse/remove-qoute-extractor
Browse files Browse the repository at this point in the history
Remove qoute extractor
  • Loading branch information
otaviojava authored May 8, 2024
2 parents 7b32e46 + 62c4496 commit 55da661
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 108 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void exitLike_expression(JDQLParser.Like_expressionContext ctx) {
var contextCondition = Condition.LIKE;
var likeValueIndex = ctx.getChildCount() -1 ;
var likeValue = contexts.getParent().getChild(likeValueIndex).getText();
var literal = StringQueryValue.of(QuoteExtractor.INSTANCE.extract(likeValue));
var literal = StringQueryValue.of(likeValue.substring(1, likeValue.length() -1));
if (this.condition != null && this.condition.value() instanceof ConditionQueryValue) {
and = andCondition;
}
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 55da661

Please sign in to comment.