Fix sonar issues in messagerouter/dmaapclient 43/88143/1
authorParshad Patel <pars.patel@samsung.com>
Tue, 21 May 2019 07:47:09 +0000 (16:47 +0900)
committerParshad Patel <pars.patel@samsung.com>
Tue, 21 May 2019 07:54:35 +0000 (16:54 +0900)
commit437cec5434271167a15c4fcdd19ab60d84774c13
treec814576025dc9a1e15b3e0dbee857bdb1ba18947
parent3a979a8705e54d4607f6524ea09aaa1f10fe8d27
Fix sonar issues in messagerouter/dmaapclient

Fix Replace the type specification in this constructor call with the diamond operator ("<>")
Fix Either log or rethrow this exception
Fix Merge this if statement with the enclosing one
Fix Use isEmpty() to check whether the collection is empty or not

Issue-ID: DMAAP-894
Change-Id: Ifb8800e032f285adb1c35ffe100e0b5be2b3cde2
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
src/main/java/org/onap/dmaap/mr/client/impl/MRSimplerBatchPublisher.java
src/main/java/org/onap/dmaap/mr/dme/client/PreferredRouteRequestHandler.java
src/main/java/org/onap/dmaap/mr/dme/client/SimpleExampleConsumer.java