From aa8b9418e6b8bcba8f5629040e9aea4121ef8739 Mon Sep 17 00:00:00 2001 From: Yaliang Wu Date: Tue, 10 Jan 2023 15:05:26 -0800 Subject: [PATCH] format code Signed-off-by: Yaliang Wu --- .../org/opensearch/ml/action/MLCommonsIntegTestCase.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugin/src/test/java/org/opensearch/ml/action/MLCommonsIntegTestCase.java b/plugin/src/test/java/org/opensearch/ml/action/MLCommonsIntegTestCase.java index e99459dd70..6294aaffe3 100644 --- a/plugin/src/test/java/org/opensearch/ml/action/MLCommonsIntegTestCase.java +++ b/plugin/src/test/java/org/opensearch/ml/action/MLCommonsIntegTestCase.java @@ -414,10 +414,6 @@ public MLSyncUpNodesResponse syncUp_Clear() { @Override protected Settings nodeSettings(int ordinal) { - return Settings - .builder() - .put(super.nodeSettings(ordinal)) - .put(ML_COMMONS_ONLY_RUN_ON_ML_NODE.getKey(), false) - .build(); + return Settings.builder().put(super.nodeSettings(ordinal)).put(ML_COMMONS_ONLY_RUN_ON_ML_NODE.getKey(), false).build(); } }