Skip to content

Commit 65a32e7

Browse files
[DOCS] Fix dup word in ShardRouting hashcode method. (#63452) (#63584)
Co-authored-by: Howard <[email protected]>
1 parent a8540c9 commit 65a32e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/cluster/routing/ShardRouting.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ public boolean equals(Object o) {
570570
}
571571

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

0 commit comments

Comments
 (0)