remove unused DiscoveryNodes#valid method
This commit is contained in:
parent
30b57be8f4
commit
70573a35e1
|
@ -77,14 +77,6 @@ public class DiscoveryNodes extends AbstractDiffable<DiscoveryNodes> 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 <tt>true</tt> if the local node is the elected master node.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue