diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java | 2 | ||||
-rw-r--r-- | src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java b/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java index ef0d13a..8509042 100644 --- a/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java +++ b/src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java @@ -418,7 +418,7 @@ public class MRSimplerBatchPublisher extends MRBaseClient implements MRBatchingP public synchronized MRPublisherResponse sendBatchWithResponse() { // it's possible for this call to be made with an empty list. in this // case, just return. - if (fPending.size() < 1) { + if (fPending.isEmpty()) { pubResponse.setResponseCode(String.valueOf(HttpStatus.SC_BAD_REQUEST)); pubResponse.setResponseMessage("No Messages to send"); return pubResponse; diff --git a/src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java b/src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java index 04c7d37..4363902 100644 --- a/src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java +++ b/src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java @@ -35,7 +35,7 @@ import com.att.nsa.mr.client.impl.MRSimplerBatchPublisher; -//public class HeaderReplyHandler implements DME2ReplyHandler { + public class HeaderReplyHandler implements DME2ExchangeReplyHandler { |