aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com
diff options
context:
space:
mode:
authorRam Koya <rk541m@att.com>2018-08-16 16:50:05 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-16 16:50:05 +0000
commitb082588d2a46547ecda1af09127cf7655e436481 (patch)
tree8127b80cbc33527450e0e6533431f5a322f8c00a /src/main/java/com
parent738e22da87b65c4168bba2c8ce51dcf7b1cce9f6 (diff)
parent355b66b9d95ff73902fbc43207fa08013776b9c2 (diff)
Merge changes Ie8852caf,I9e9d1156
* changes: Sonar major issues Sonar major issues
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java2
-rw-r--r--src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java2
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 {