diff options
author | Ram Koya <rk541m@att.com> | 2018-08-16 16:50:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-16 16:50:05 +0000 |
commit | b082588d2a46547ecda1af09127cf7655e436481 (patch) | |
tree | 8127b80cbc33527450e0e6533431f5a322f8c00a /src/main | |
parent | 738e22da87b65c4168bba2c8ce51dcf7b1cce9f6 (diff) | |
parent | 355b66b9d95ff73902fbc43207fa08013776b9c2 (diff) |
Merge changes Ie8852caf,I9e9d1156
* changes:
Sonar major issues
Sonar major issues
Diffstat (limited to 'src/main')
-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 { |