Skip to content

Commit 17dfb51

Browse files
authored
Merge pull request #42 from sidhant92/array_math_functions
fix cache key
2 parents c9045a6 + 0bfe9d5 commit 17dfb51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/github/sidhant92/boolparser/parser/antlr/CachedBoolParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ public Try<Node> parseExpression(final String expression) {
2727

2828
private Node getNode(final String expression, final String defaultField) {
2929
final String cacheKey = expression + "_" + Optional.ofNullable(defaultField).orElse("");
30-
return cache.get(cacheKey, ex -> super.parse(ex, defaultField));
30+
return cache.get(cacheKey, ex -> super.parse(expression, defaultField));
3131
}
3232
}

0 commit comments

Comments
 (0)