summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/att/nsa/mr/tools/MRCommandContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/mr/tools/MRCommandContext.java b/src/main/java/com/att/nsa/mr/tools/MRCommandContext.java
index 3430d9c..8cc84ef 100644
--- a/src/main/java/com/att/nsa/mr/tools/MRCommandContext.java
+++ b/src/main/java/com/att/nsa/mr/tools/MRCommandContext.java
@@ -57,7 +57,7 @@ public class MRCommandContext implements CommandContext
public boolean checkClusterReady ()
{
- return ( fCluster.size () != 0 );
+ return ( fCluster.isEmpty());
}
public Collection<String> getCluster ()