From 92bce290b6d838d234c7617ac282c7d0303bd3e1 Mon Sep 17 00:00:00 2001 From: YANGDB Date: Thu, 26 Oct 2023 22:48:43 -0700 Subject: [PATCH] make JsonVisitorImpl private Signed-off-by: YANGDB --- .../response/DefaultSparkSqlFunctionResponseHandle.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spark/src/main/java/org/opensearch/sql/spark/functions/response/DefaultSparkSqlFunctionResponseHandle.java b/spark/src/main/java/org/opensearch/sql/spark/functions/response/DefaultSparkSqlFunctionResponseHandle.java index faef49c071..dd574b2d30 100644 --- a/spark/src/main/java/org/opensearch/sql/spark/functions/response/DefaultSparkSqlFunctionResponseHandle.java +++ b/spark/src/main/java/org/opensearch/sql/spark/functions/response/DefaultSparkSqlFunctionResponseHandle.java @@ -186,7 +186,7 @@ public ExecutionEngine.Schema schema() { } /** visitor implementation for traversing the json object */ - public static class JsonVisitorImpl implements JsonVisitor { + private static class JsonVisitorImpl implements JsonVisitor { public ExprValue visit(Object obj) { if (obj instanceof JSONObject) { return visitObject((JSONObject) obj);