From 65b1e4fc0115d998eff79ba07c0634a385586bc6 Mon Sep 17 00:00:00 2001 From: zhichao-aws Date: Wed, 20 Sep 2023 08:59:57 +0000 Subject: [PATCH] tidy Signed-off-by: zhichao-aws --- src/test/java/org/opensearch/neuralsearch/TestUtils.java | 2 -- .../neuralsearch/query/SparseEncodingQueryBuilderTests.java | 1 - .../opensearch/neuralsearch/query/SparseEncodingQueryIT.java | 1 - 3 files changed, 4 deletions(-) diff --git a/src/test/java/org/opensearch/neuralsearch/TestUtils.java b/src/test/java/org/opensearch/neuralsearch/TestUtils.java index d9cb1ffee..385855a2e 100644 --- a/src/test/java/org/opensearch/neuralsearch/TestUtils.java +++ b/src/test/java/org/opensearch/neuralsearch/TestUtils.java @@ -11,8 +11,6 @@ import static org.junit.Assert.assertTrue; import static org.opensearch.test.OpenSearchTestCase.randomFloat; -import java.math.BigDecimal; -import java.math.RoundingMode; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; diff --git a/src/test/java/org/opensearch/neuralsearch/query/SparseEncodingQueryBuilderTests.java b/src/test/java/org/opensearch/neuralsearch/query/SparseEncodingQueryBuilderTests.java index 4805287b3..7f33c44c2 100644 --- a/src/test/java/org/opensearch/neuralsearch/query/SparseEncodingQueryBuilderTests.java +++ b/src/test/java/org/opensearch/neuralsearch/query/SparseEncodingQueryBuilderTests.java @@ -41,7 +41,6 @@ import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryRewriteContext; import org.opensearch.neuralsearch.ml.MLCommonsClientAccessor; -import org.opensearch.neuralsearch.query.SparseEncodingQueryBuilder; import org.opensearch.test.OpenSearchTestCase; public class SparseEncodingQueryBuilderTests extends OpenSearchTestCase { diff --git a/src/test/java/org/opensearch/neuralsearch/query/SparseEncodingQueryIT.java b/src/test/java/org/opensearch/neuralsearch/query/SparseEncodingQueryIT.java index ce9155f6a..27517ddcb 100644 --- a/src/test/java/org/opensearch/neuralsearch/query/SparseEncodingQueryIT.java +++ b/src/test/java/org/opensearch/neuralsearch/query/SparseEncodingQueryIT.java @@ -19,7 +19,6 @@ import org.opensearch.index.query.MatchQueryBuilder; import org.opensearch.neuralsearch.TestUtils; import org.opensearch.neuralsearch.common.BaseSparseEncodingIT; -import org.opensearch.neuralsearch.query.SparseEncodingQueryBuilder; public class SparseEncodingQueryIT extends BaseSparseEncodingIT { private static final String TEST_BASIC_INDEX_NAME = "test-sparse-basic-index";