diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java b/src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java index 6008251..7d1e396 100644 --- a/src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java +++ b/src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java @@ -134,7 +134,7 @@ public class MRBatchPublisher implements MRBatchingPublisher @Override public int send ( Collection<message> msgs ) throws IOException { - if ( msgs.size() > 0 ) + if ( msgs.isEmpty() ) { fSender.queue ( msgs ); } |