Skip to content

Commit

Permalink
Remove Redundant null check in CompoundQueryExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
asereda-gs committed Sep 22, 2018
1 parent 2cba817 commit 2ab83e4
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -628,9 +628,6 @@ private CompoundQueryExpression(boolean partial, BoolQueryBuilder builder) {


@Override public QueryBuilder builder() {
if (builder == null) {
throw new IllegalStateException("builder was not set");
}
return builder;
}

Expand Down

0 comments on commit 2ab83e4

Please sign in to comment.