[TEST] fixed TestCluster size() javadocs
This commit is contained in:
parent
015c21c395
commit
8aea3a2f7d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue