Skip to content

Commit 08e18e8

Browse files
committed
Remove assertion.
Signed-off-by: Youssef Aouichaoui <youssef3wi@icloud.com>
1 parent 1011c98 commit 08e18e8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/org/springframework/data/elasticsearch/client/elc/AbstractQueryProcessor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ static co.elastic.clients.elasticsearch._types.query_dsl.Query getEsQuery(@Nulla
6666
throw new IllegalArgumentException("unhandled Query implementation " + query.getClass().getName());
6767
}
6868

69-
Assert.notNull(esQuery, "query must not be null.");
7069
return esQuery;
7170
}
7271
}

0 commit comments

Comments
 (0)