Skip to content

Commit

Permalink
spotless apply
Browse files Browse the repository at this point in the history
Signed-off-by: mikhail-khludnev <[email protected]>
  • Loading branch information
mkhludnev authored and mikhail-khludnev committed Nov 14, 2024
1 parent f7eecfc commit a859408
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,15 @@ public Query termQuery(Object value, @Nullable QueryShardContext context) {

private Query indexOrDvQuery(Query pointQuery, Query dvQuery) {
if (isSearchable() && hasDocValues()) {
assert pointQuery!=null;
assert dvQuery!=null;
assert pointQuery != null;
assert dvQuery != null;
return new IndexOrDocValuesQuery(pointQuery, dvQuery);
} else {
if (isSearchable()) {
assert pointQuery!=null;
assert pointQuery != null;
return pointQuery;
} else {
assert dvQuery!=null;
assert dvQuery != null;
return dvQuery;
}
}
Expand Down

0 comments on commit a859408

Please sign in to comment.