From bb294109c34c93acd55ca7d5b28819a1992f397e Mon Sep 17 00:00:00 2001 From: Lantao Jin Date: Tue, 18 Jun 2024 14:00:52 +0800 Subject: [PATCH] fix spotless Signed-off-by: Lantao Jin --- .../java/org/opensearch/sql/sql/domain/SQLQueryRequest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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();