Skip to content

Commit e0a9a08

Browse files
committed
Applied spotless check for latest changes
Signed-off-by: Mrudhul Guda <gm13@iitbbs.ac.in>
1 parent fa4264a commit e0a9a08

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/mapper-extras/src/test/java/org/opensearch/index/mapper/SearchAsYouTypeFieldMapperTests.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -563,9 +563,7 @@ public void testNestedExistsQuery() throws IOException {
563563
QueryShardContext queryShardContext = createQueryShardContext(mapperService);
564564
Query actual = new QueryStringQueryBuilder("field:*").toQuery(queryShardContext);
565565
Query expected = new ConstantScoreQuery(
566-
new BooleanQuery.Builder()
567-
.add(new NormsFieldExistsQuery("field.nested_field"), BooleanClause.Occur.SHOULD)
568-
.build()
566+
new BooleanQuery.Builder().add(new NormsFieldExistsQuery("field.nested_field"), BooleanClause.Occur.SHOULD).build()
569567
);
570568
assertEquals(expected, actual);
571569
}

0 commit comments

Comments
 (0)