mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 14:26:27 +00:00
[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…
x
Reference in New Issue
Block a user