Skip to content

Commit da2e537

Browse files
committed
Reduce invalidateCache() visibility from public to protected
Consistent with buildBundle() which is also @VisibleForTesting protected. Signed-off-by: Eric Wei <mengwei.eric@gmail.com>
1 parent fe41aea commit da2e537

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/src/main/java/org/opensearch/sql/plugin/rest/RestPPLGrammarAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ protected GrammarBundle buildBundle() {
8686

8787
/** Invalidate the cached bundle, forcing a rebuild on the next request. */
8888
@VisibleForTesting
89-
public void invalidateCache() {
89+
protected void invalidateCache() {
9090
synchronized (bundleLock) {
9191
cachedBundle = null;
9292
}

0 commit comments

Comments
 (0)