[DOCS] Fix dup word in ShardRouting hashcode method. (#63452) (#63583)

Co-authored-by: Howard <danielhuang@tencent.com>
This commit is contained in:
James Rodewig 2020-10-13 09:05:19 -04:00 committed by GitHub
parent b3aa575f0d
commit 845ccc2264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ public final class ShardRouting implements Writeable, ToXContentObject {
}
/**
* 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