Skip to content

Commit

Permalink
[DOCS] Fix dup word in ShardRouting hashcode method. (#63452) (#63584)
Browse files Browse the repository at this point in the history
Co-authored-by: Howard <danielhuang@tencent.com>
  • Loading branch information
jrodewig and howardhuanghua committed Oct 13, 2020
1 parent a8540c9 commit 65a32e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ public boolean equals(Object o) {
}

/**
* Cache hash code in same same way as {@link String#hashCode()}) using racy single-check idiom
* Cache hash code in the same way as {@link String#hashCode()}) using racy single-check idiom
* as it is mainly used in single-threaded code ({@link BalancedShardsAllocator}).
*/
private int hashCode; // default to 0
Expand Down

0 comments on commit 65a32e7

Please sign in to comment.