fix incorrect comparison (#48208) (#48303)

* remove comparison of identical values

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

* add comparison between tookInMillis
This commit is contained in:
Lee Hinman 2019-10-21 09:14:44 -06:00 committed by GitHub
parent dc08feadc6
commit cc0c876a8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ public class TermVectorsResponse {
&& Objects.equals(id, other.id)
&& docVersion == other.docVersion
&& found == other.found
&& tookInMillis == tookInMillis
&& tookInMillis == other.tookInMillis
&& Objects.equals(termVectorList, other.termVectorList);
}