Fix AllocationRoutedStep equals and hashcode (#62548) (#62559)

(cherry picked from commit 79039e16305c7fb71ee012e693219a0d2b77e97b)
Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
This commit is contained in:
Andrei Dan 2020-09-17 17:40:21 +01:00 committed by GitHub
parent 5421a743a7
commit 3753682877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 16 deletions

View File

@ -89,20 +89,4 @@ public class AllocationRoutedStep extends ClusterStateWaitStep {
} }
return allocationPendingAllShards; 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);
}
} }