Skip to content

Commit

Permalink
Use primitive comparison in QueryResult.equals
Browse files Browse the repository at this point in the history
  • Loading branch information
mziccard committed Dec 14, 2015
1 parent ea54699 commit 3324243
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ public boolean equals(Object obj) {
return Objects.equals(nextPageCursor(), response.nextPageCursor())
&& Objects.equals(values(), response.values())
&& Objects.equals(schema, response.schema)
&& Objects.equals(totalRows, response.totalRows)
&& Objects.equals(totalBytesProcessed, response.totalBytesProcessed)
&& Objects.equals(cacheHit, response.cacheHit);
&& totalRows == response.totalRows
&& totalBytesProcessed == response.totalBytesProcessed
&& cacheHit == response.cacheHit;
}

static Builder builder() {
Expand Down

0 comments on commit 3324243

Please sign in to comment.