From 03cab96b2d0e32b70ea648fb098d75c57bc36862 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Sat, 28 Mar 2020 12:56:22 -0400 Subject: [PATCH] Fix imports in discovery node classes This commit fixes some imports that were leftover after resolving some merge conflicts on a backport. --- .../java/org/elasticsearch/cluster/node/DiscoveryNode.java | 1 - .../java/org/elasticsearch/cluster/node/DiscoveryNodeRole.java | 3 --- 2 files changed, 4 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/cluster/node/DiscoveryNode.java b/server/src/main/java/org/elasticsearch/cluster/node/DiscoveryNode.java index 76fe9392dc2..cbc3f17e8b6 100644 --- a/server/src/main/java/org/elasticsearch/cluster/node/DiscoveryNode.java +++ b/server/src/main/java/org/elasticsearch/cluster/node/DiscoveryNode.java @@ -26,7 +26,6 @@ import org.elasticsearch.common.io.stream.StreamOutput; import org.elasticsearch.common.io.stream.Writeable; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.transport.TransportAddress; -import org.elasticsearch.common.util.set.Sets; import org.elasticsearch.common.xcontent.ToXContentFragment; import org.elasticsearch.common.xcontent.XContentBuilder; import org.elasticsearch.node.Node; diff --git a/server/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeRole.java b/server/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeRole.java index c2f6c8210a7..e54525d6ec2 100644 --- a/server/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeRole.java +++ b/server/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeRole.java @@ -20,14 +20,11 @@ package org.elasticsearch.cluster.node; import org.elasticsearch.common.settings.Setting; -import org.elasticsearch.common.util.set.Sets; import org.elasticsearch.node.Node; import java.util.Arrays; import java.util.Collections; -import java.util.HashSet; import java.util.Objects; -import java.util.Set; import java.util.SortedSet; import java.util.TreeSet;