diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/att/nsa/mr/tools/MRCommandContext.java | 2 |
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 () |