Sonar major issues
[dmaap/messagerouter/dmaapclient.git] / src / main / java / com / att / nsa / mr / tools / MRCommandContext.java
index 3430d9c..8cc84ef 100644 (file)
@@ -57,7 +57,7 @@ public class MRCommandContext implements CommandContext
        
        public boolean checkClusterReady ()
        {
-               return ( fCluster.size () != 0 );
+               return ( fCluster.isEmpty());
        }
 
        public Collection<String> getCluster ()