commit | fc7229513e54e50172080420936425b216cdd1e3 | [log] [tgz] |
---|---|---|
author | Martin Fick <mfick@codeaurora.org> | Fri Sep 10 12:21:02 2021 -0600 |
committer | Martin Fick <mfick@codeaurora.org> | Mon Sep 20 17:47:21 2021 +0000 |
tree | 8efb5e959670cf729ee688d3a18b8bad80d2e64b | |
parent | 49469de1938091312137814bfb0e1e73c19325ba [diff] |
fixup! refactor predicate cache into its own class The call to actually get the cached predicates was somehow missed when this change was ported from our internal code base. Fix this by calling getPredicate(). Change-Id: Ifc67b7cbc63258972a35beecdc76d2196621455b
diff --git a/src/main/java/com/googlesource/gerrit/plugins/task/PredicateCache.java b/src/main/java/com/googlesource/gerrit/plugins/task/PredicateCache.java index 0921db1..aa3da13 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/task/PredicateCache.java +++ b/src/main/java/com/googlesource/gerrit/plugins/task/PredicateCache.java
@@ -59,7 +59,7 @@ if ("true".equalsIgnoreCase(query)) { return true; } - return cqb.parse(query).asMatchable().match(c); + return getPredicate(query).asMatchable().match(c); } protected Predicate<ChangeData> getPredicate(String query) throws QueryParseException {