[TEST] fixed TestCluster size() javadocs

This commit is contained in:
javanna 2014-03-31 18:10:21 +02:00 committed by Luca Cavanna
parent 015c21c395
commit 8aea3a2f7d
2 changed files with 1 additions and 4 deletions

View File

@ -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();

View File

@ -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();