Skip to content

Commit

Permalink
[7.4] fix incorrect comparison (#48208) (#48305)
Browse files Browse the repository at this point in the history
* remove comparison of identical values

the comparison `tookInMillis == tookInMillis` is always true.

* add comparison between tookInMillis
  • Loading branch information
dakrone authored Oct 21, 2019
1 parent 13992ce commit 00f17ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public boolean equals(Object obj) {
&& Objects.equals(id, other.id)
&& docVersion == other.docVersion
&& found == other.found
&& tookInMillis == tookInMillis
&& tookInMillis == other.tookInMillis
&& Objects.equals(termVectorList, other.termVectorList);
}

Expand Down

0 comments on commit 00f17ff

Please sign in to comment.