From 8182a282d43f192ad4cf8c6a2a21f154f0948359 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Tue, 1 Mar 2016 14:12:26 +0100 Subject: [PATCH] removed unused imports and an unused field --- .../main/java/org/elasticsearch/ingest/IngestMetadata.java | 1 - .../org/elasticsearch/ingest/PipelineConfiguration.java | 7 ------- .../java/org/elasticsearch/ingest/IngestMetadataTests.java | 1 - 3 files changed, 9 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/ingest/IngestMetadata.java b/core/src/main/java/org/elasticsearch/ingest/IngestMetadata.java index b93eff73140..ad582eeb7aa 100644 --- a/core/src/main/java/org/elasticsearch/ingest/IngestMetadata.java +++ b/core/src/main/java/org/elasticsearch/ingest/IngestMetadata.java @@ -20,7 +20,6 @@ package org.elasticsearch.ingest; import org.elasticsearch.cluster.Diff; -import org.elasticsearch.cluster.Diffable; import org.elasticsearch.cluster.DiffableUtils; import org.elasticsearch.cluster.metadata.MetaData; import org.elasticsearch.common.ParseField; diff --git a/core/src/main/java/org/elasticsearch/ingest/PipelineConfiguration.java b/core/src/main/java/org/elasticsearch/ingest/PipelineConfiguration.java index 99980f6d82d..d99d0e18c5c 100644 --- a/core/src/main/java/org/elasticsearch/ingest/PipelineConfiguration.java +++ b/core/src/main/java/org/elasticsearch/ingest/PipelineConfiguration.java @@ -20,8 +20,6 @@ package org.elasticsearch.ingest; import org.elasticsearch.cluster.AbstractDiffable; -import org.elasticsearch.cluster.Diffable; -import org.elasticsearch.cluster.metadata.MetaData; import org.elasticsearch.common.ParseField; import org.elasticsearch.common.bytes.BytesReference; import org.elasticsearch.common.io.stream.StreamInput; @@ -34,11 +32,7 @@ import org.elasticsearch.common.xcontent.XContentHelper; import org.elasticsearch.common.xcontent.XContentParser; import java.io.IOException; -import java.util.Collections; -import java.util.EnumSet; -import java.util.HashMap; import java.util.Map; -import java.util.Objects; import java.util.function.BiFunction; /** @@ -69,7 +63,6 @@ public final class PipelineConfiguration extends AbstractDiffable customs = Collections.emptyMap(); void setId(String id) { this.id = id; diff --git a/core/src/test/java/org/elasticsearch/ingest/IngestMetadataTests.java b/core/src/test/java/org/elasticsearch/ingest/IngestMetadataTests.java index 1946bdc5957..c6477e355a1 100644 --- a/core/src/test/java/org/elasticsearch/ingest/IngestMetadataTests.java +++ b/core/src/test/java/org/elasticsearch/ingest/IngestMetadataTests.java @@ -19,7 +19,6 @@ package org.elasticsearch.ingest; -import org.elasticsearch.cluster.Diff; import org.elasticsearch.cluster.DiffableUtils; import org.elasticsearch.cluster.metadata.MetaData; import org.elasticsearch.common.bytes.BytesArray;