Skip to content

Commit

Permalink
Fix TermsSetQueryBuilder.doEquals() method
Browse files Browse the repository at this point in the history
  • Loading branch information
tlrx committed Apr 26, 2018
1 parent fadcce8 commit 9f82709
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,10 @@ public TermsSetQueryBuilder setMinimumShouldMatchScript(Script minimumShouldMatc

@Override
protected boolean doEquals(TermsSetQueryBuilder other) {
return Objects.equals(fieldName, this.fieldName) && Objects.equals(values, this.values) &&
Objects.equals(minimumShouldMatchField, this.minimumShouldMatchField) &&
Objects.equals(minimumShouldMatchScript, this.minimumShouldMatchScript);
return Objects.equals(fieldName, other.fieldName)
&& Objects.equals(values, other.values)
&& Objects.equals(minimumShouldMatchField, other.minimumShouldMatchField)
&& Objects.equals(minimumShouldMatchScript, other.minimumShouldMatchScript);
}

@Override
Expand Down

0 comments on commit 9f82709

Please sign in to comment.