Skip to content

Commit

Permalink
fix comments and wrap line issue
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle-yuan committed May 5, 2022
1 parent fed9ac3 commit 3c64576
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ public boolean equals(Object obj) {
}

public int hashCode() {
return this.id().hashCode() ^
this.columns.size();
return this.id().hashCode() ^ this.columns.size();
}

protected static final class BinaryId implements Id {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,7 @@ public boolean equals(Object obj) {
return true;
}

// ConcurrentSkipListMap override equals();
// ConcurrentSkipListMap extend AbstractMap and AbstractMap implement
// hashCode()
public int hashCode() {
return this.id().hashCode() ^
this.columns().hashCode();

return this.id().hashCode() ^ this.columns().hashCode();
}
}

0 comments on commit 3c64576

Please sign in to comment.