From 26569045efae8f143e033115afc3736dc8da835e Mon Sep 17 00:00:00 2001 From: javanna Date: Fri, 13 Nov 2015 19:36:18 +0100 Subject: [PATCH] remove leftover equals/hashcode --- .../processor/mutate/MutateProcessor.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/plugins/ingest/src/main/java/org/elasticsearch/ingest/processor/mutate/MutateProcessor.java b/plugins/ingest/src/main/java/org/elasticsearch/ingest/processor/mutate/MutateProcessor.java index 2daadd5fee5..9b9d98e3fef 100644 --- a/plugins/ingest/src/main/java/org/elasticsearch/ingest/processor/mutate/MutateProcessor.java +++ b/plugins/ingest/src/main/java/org/elasticsearch/ingest/processor/mutate/MutateProcessor.java @@ -277,28 +277,6 @@ public final class MutateProcessor implements Processor { } } - @Override - public boolean equals(Object o) { - if (this == o) return true; - if (o == null || getClass() != o.getClass()) return false; - MutateProcessor that = (MutateProcessor) o; - return Objects.equals(update, that.update) && - Objects.equals(rename, that.rename) && - Objects.equals(convert, that.convert) && - Objects.equals(split, that.split) && - Objects.equals(gsub, that.gsub) && - Objects.equals(join, that.join) && - Objects.equals(remove, that.remove) && - Objects.equals(trim, that.trim) && - Objects.equals(uppercase, that.uppercase) && - Objects.equals(lowercase, that.lowercase); - } - - @Override - public int hashCode() { - return Objects.hash(update, rename, convert, split, gsub, join, remove, trim, uppercase, lowercase); - } - public static final class Factory implements Processor.Factory { @Override public MutateProcessor create(Map config) throws IOException {