@@ -114,7 +114,7 @@ public abstract class ImmutableTestCluster implements Iterable<Client> {
public abstract Client client();
/**
- * Returns the size of the cluster
+ * Returns the number of nodes in the cluster.
*/
public abstract int size();
@@ -788,9 +788,6 @@ public final class TestCluster extends ImmutableTestCluster {
return node.injector().getInstance(clazz);
}
- /**
- * Returns the number of nodes in the cluster.
- */
@Override
public synchronized int size() {
return this.nodes.size();