Skip to content

Commit 0a54612

Browse files
committed
Remove * imports
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
1 parent 2018fee commit 0a54612

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/test/java/org/opensearch/knn/indices/ModelDaoTests.java

+7-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
package org.opensearch.knn.indices;
1313

14-
import org.junit.*;
14+
import org.junit.AfterClass;
15+
import org.junit.BeforeClass;
1516
import org.mockito.MockedStatic;
1617
import org.opensearch.ExceptionsHelper;
1718
import org.opensearch.ResourceAlreadyExistsException;
@@ -59,7 +60,9 @@
5960
import java.util.concurrent.TimeUnit;
6061

6162
import static org.mockito.ArgumentMatchers.any;
62-
import static org.mockito.Mockito.*;
63+
import static org.mockito.Mockito.doNothing;
64+
import static org.mockito.Mockito.mock;
65+
import static org.mockito.Mockito.mockStatic;
6366
import static org.opensearch.cluster.metadata.Metadata.builder;
6467
import static org.opensearch.knn.common.KNNConstants.DIMENSION;
6568
import static org.opensearch.knn.common.KNNConstants.KNN_ENGINE;
@@ -84,7 +87,8 @@ public static void setup() {
8487
trainingJobClusterStateListenerMockedStatic = mockStatic(TrainingJobClusterStateListener.class);
8588
final TrainingJobClusterStateListener trainingJobClusterStateListener = mock(TrainingJobClusterStateListener.class);
8689
doNothing().when(trainingJobClusterStateListener).clusterChanged(any(ClusterChangedEvent.class));
87-
trainingJobClusterStateListenerMockedStatic.when(TrainingJobClusterStateListener::getInstance).thenReturn(trainingJobClusterStateListener);
90+
trainingJobClusterStateListenerMockedStatic.when(TrainingJobClusterStateListener::getInstance)
91+
.thenReturn(trainingJobClusterStateListener);
8892
}
8993

9094
@AfterClass

0 commit comments

Comments
 (0)