From 845ccc22646c0062548f44a3289fb343cac108d6 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Tue, 13 Oct 2020 09:05:19 -0400 Subject: [PATCH] [DOCS] Fix dup word in ShardRouting hashcode method. (#63452) (#63583) Co-authored-by: Howard --- .../java/org/elasticsearch/cluster/routing/ShardRouting.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/elasticsearch/cluster/routing/ShardRouting.java b/server/src/main/java/org/elasticsearch/cluster/routing/ShardRouting.java index 8b8bcaddbdd..2b7bd16a40a 100644 --- a/server/src/main/java/org/elasticsearch/cluster/routing/ShardRouting.java +++ b/server/src/main/java/org/elasticsearch/cluster/routing/ShardRouting.java @@ -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