From de9e944ff715f23cb3f750c4f18988149a48216b Mon Sep 17 00:00:00 2001 From: Harsha Vamsi Kalluri Date: Mon, 5 Aug 2024 16:54:42 -0700 Subject: [PATCH] Spotless Signed-off-by: Harsha Vamsi Kalluri --- .../java/org/opensearch/index/mapper/KeywordFieldTypeTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/test/java/org/opensearch/index/mapper/KeywordFieldTypeTests.java b/server/src/test/java/org/opensearch/index/mapper/KeywordFieldTypeTests.java index c2c9b3942c163..c3a1e7bbda64f 100644 --- a/server/src/test/java/org/opensearch/index/mapper/KeywordFieldTypeTests.java +++ b/server/src/test/java/org/opensearch/index/mapper/KeywordFieldTypeTests.java @@ -149,7 +149,7 @@ public void testTermsQuery() { MappedFieldType unsearchable = new KeywordFieldType("field", false, false, Collections.emptyMap()); IllegalArgumentException e = expectThrows( IllegalArgumentException.class, - () -> unsearchable.termsQuery(Arrays.asList("foo", "bar"),RewriteOverride.DEFAULT,null) + () -> unsearchable.termsQuery(Arrays.asList("foo", "bar"), RewriteOverride.DEFAULT, null) ); assertEquals( "Cannot search on field [field] since it is both not indexed, and does not have doc_values " + "enabled.",