Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Hailong Cui <[email protected]>
  • Loading branch information
Hailong-am committed Jan 15, 2025
1 parent 3b14ecd commit e8e2f24
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/test/java/org/opensearch/integTest/BaseAgentToolsIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -91,10 +90,9 @@ protected void updateClusterSettings(String settingKey, Object value) {

@SneakyThrows
private Map<String, Object> parseResponseToMap(Response response) {
String responseBody= EntityUtils.toString(response.getEntity());
String responseBody = EntityUtils.toString(response.getEntity());
logger.info("responseBody: {}", responseBody);
Map<String, Object> responseInMap = XContentHelper
.convertToMap(XContentType.JSON.xContent(), responseBody, false);
Map<String, Object> responseInMap = XContentHelper.convertToMap(XContentType.JSON.xContent(), responseBody, false);
return responseInMap;
}

Expand Down

0 comments on commit e8e2f24

Please sign in to comment.