aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/att/nsa/mr/tools/MessageCommand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/mr/tools/MessageCommand.java b/src/main/java/com/att/nsa/mr/tools/MessageCommand.java
index 1c0e666..54e92ae 100644
--- a/src/main/java/com/att/nsa/mr/tools/MessageCommand.java
+++ b/src/main/java/com/att/nsa/mr/tools/MessageCommand.java
@@ -113,7 +113,7 @@ public class MessageCommand implements Command<MRCommandContext>
logger.error("Problem sending message: ", e);
Thread.currentThread().interrupt();
}
- if ( left != null && left.size () > 0 )
+ if ( left != null && left.isEmpty() )
{
out.println ( left.size() + " messages not sent." );
}