From 70573a35e17ff42f90f7f3dba62354d9a4cab69f Mon Sep 17 00:00:00 2001 From: javanna Date: Wed, 30 Mar 2016 15:23:45 +0200 Subject: [PATCH] remove unused DiscoveryNodes#valid method --- .../org/elasticsearch/cluster/node/DiscoveryNodes.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodes.java b/core/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodes.java index f073b577a2a..ed4cfbd9134 100644 --- a/core/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodes.java +++ b/core/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodes.java @@ -77,14 +77,6 @@ public class DiscoveryNodes extends AbstractDiffable implements return nodes.valuesIt(); } - /** - * Is this a valid nodes that has the minimal information set. The minimal set is defined - * by the localNodeId being set. - */ - public boolean valid() { - return localNodeId != null; - } - /** * Returns true if the local node is the elected master node. */