From 375368287753b731fd627d42c95ee504ef2bb62f Mon Sep 17 00:00:00 2001 From: Andrei Dan Date: Thu, 17 Sep 2020 17:40:21 +0100 Subject: [PATCH] Fix AllocationRoutedStep equals and hashcode (#62548) (#62559) (cherry picked from commit 79039e16305c7fb71ee012e693219a0d2b77e97b) Signed-off-by: Andrei Dan --- .../xpack/core/ilm/AllocationRoutedStep.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStep.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStep.java index 32be0f6ca67..0f96faf43c0 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStep.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStep.java @@ -89,20 +89,4 @@ public class AllocationRoutedStep extends ClusterStateWaitStep { } return allocationPendingAllShards; } - - @Override - public int hashCode() { - return 611; - } - - @Override - public boolean equals(Object obj) { - if (obj == null) { - return false; - } - if (getClass() != obj.getClass()) { - return false; - } - return super.equals(obj); - } }