From c29a02befc83fa6636db30ab32659bbb7e25acb9 Mon Sep 17 00:00:00 2001 From: zane-neo Date: Thu, 10 Oct 2024 16:17:56 +0800 Subject: [PATCH] format code Signed-off-by: zane-neo --- .../test/java/org/opensearch/bootstrap/BootstrapTests.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/distribution/tools/keystore-cli/src/test/java/org/opensearch/bootstrap/BootstrapTests.java b/distribution/tools/keystore-cli/src/test/java/org/opensearch/bootstrap/BootstrapTests.java index 69ee30d26733a..9ad1d04ecc0c1 100644 --- a/distribution/tools/keystore-cli/src/test/java/org/opensearch/bootstrap/BootstrapTests.java +++ b/distribution/tools/keystore-cli/src/test/java/org/opensearch/bootstrap/BootstrapTests.java @@ -31,9 +31,6 @@ package org.opensearch.bootstrap; -import org.mockito.MockedStatic; -import org.mockito.Mockito; -import org.opensearch.cli.UserException; import org.opensearch.common.logging.LogConfigurator; import org.opensearch.common.settings.KeyStoreCommandTestCase; import org.opensearch.common.settings.KeyStoreWrapper; @@ -43,7 +40,6 @@ import org.opensearch.core.common.settings.SecureString; import org.opensearch.env.Environment; import org.opensearch.node.Node; -import org.opensearch.node.NodeValidationException; import org.opensearch.test.OpenSearchTestCase; import org.junit.After; import org.junit.Before; @@ -60,12 +56,9 @@ import java.util.concurrent.atomic.AtomicInteger; import static org.hamcrest.Matchers.equalTo; -import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doAnswer; -import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.when; public class BootstrapTests extends OpenSearchTestCase { Environment env;