From e8e2f24339c4e8acea77edab6c83c8973ad0e5e0 Mon Sep 17 00:00:00 2001 From: Hailong Cui Date: Wed, 15 Jan 2025 22:51:09 +0800 Subject: [PATCH] spotless Signed-off-by: Hailong Cui --- .../java/org/opensearch/integTest/BaseAgentToolsIT.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/opensearch/integTest/BaseAgentToolsIT.java b/src/test/java/org/opensearch/integTest/BaseAgentToolsIT.java index b83b05c0..d338c9fb 100644 --- a/src/test/java/org/opensearch/integTest/BaseAgentToolsIT.java +++ b/src/test/java/org/opensearch/integTest/BaseAgentToolsIT.java @@ -49,7 +49,6 @@ import lombok.SneakyThrows; - public abstract class BaseAgentToolsIT extends OpenSearchSecureRestTestCase { public static final Gson gson = new Gson(); private static final int MAX_TASK_RESULT_QUERY_TIME_IN_SECOND = 60 * 5; @@ -91,10 +90,9 @@ protected void updateClusterSettings(String settingKey, Object value) { @SneakyThrows private Map parseResponseToMap(Response response) { - String responseBody= EntityUtils.toString(response.getEntity()); + String responseBody = EntityUtils.toString(response.getEntity()); logger.info("responseBody: {}", responseBody); - Map responseInMap = XContentHelper - .convertToMap(XContentType.JSON.xContent(), responseBody, false); + Map responseInMap = XContentHelper.convertToMap(XContentType.JSON.xContent(), responseBody, false); return responseInMap; }