Browse Source

[TEST] fixed TestCluster size() javadocs

javanna 11 years ago
parent
commit
8aea3a2f7d

+ 1 - 1
src/test/java/org/elasticsearch/test/ImmutableTestCluster.java

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

+ 0 - 3
src/test/java/org/elasticsearch/test/TestCluster.java

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