diff --git a/sql/src/main/java/org/opensearch/sql/sql/domain/SQLQueryRequest.java b/sql/src/main/java/org/opensearch/sql/sql/domain/SQLQueryRequest.java index e1eacef5f0..9cb3c31b4f 100644 --- a/sql/src/main/java/org/opensearch/sql/sql/domain/SQLQueryRequest.java +++ b/sql/src/main/java/org/opensearch/sql/sql/domain/SQLQueryRequest.java @@ -86,8 +86,7 @@ public boolean isSupported() { boolean hasQuery = query != null; boolean hasContent = jsonContent != null && !jsonContent.isEmpty(); - Predicate supportedParams = - List.of(QUERY_PARAMS_FORMAT, QUERY_PARAMS_PRETTY)::contains; + Predicate supportedParams = List.of(QUERY_PARAMS_FORMAT, QUERY_PARAMS_PRETTY)::contains; boolean hasUnsupportedParams = (!params.isEmpty()) && params.keySet().stream().dropWhile(supportedParams).findAny().isPresent();