Skip to content

Commit e01ec80

Browse files
anupkmr03Christoph Büscher
authored and
Christoph Büscher
committed
Remove duplicate line in SearchAfterBuilder (#45994)
1 parent 2662c1b commit e01ec80

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server/src/main/java/org/elasticsearch/search/searchafter/SearchAfterBuilder.java

-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ public SearchAfterBuilder setSortValues(Object[] values) {
9191
if (values[i] instanceof Double) continue;
9292
if (values[i] instanceof Float) continue;
9393
if (values[i] instanceof Boolean) continue;
94-
if (values[i] instanceof Boolean) continue;
9594
throw new IllegalArgumentException("Can't handle " + SEARCH_AFTER + " field value of type [" + values[i].getClass() + "]");
9695
}
9796
sortValues = new Object[values.length];

0 commit comments

Comments
 (0)