Fix for Sonar issues 35/13435/4
authorrama-huawei <rama.subba.reddy.s@huawei.com>
Tue, 19 Sep 2017 11:34:02 +0000 (17:04 +0530)
committerRama SubbaReddy <rama.subba.reddy.s@huawei.com>
Tue, 19 Sep 2017 14:24:13 +0000 (14:24 +0000)
commit607d0593819efba068a21bbee99417b741311e5d
treead3a7f174532af88d74212720ea1fce24577fed1
parent5c83a4a1600b42275c0cafb33669ccac7d74014d
Fix for Sonar issues

Removed the useless assignment to the local variables

Fixed the null pointer exception issues

Used isEmpty() method instead of size() method

Defined a constant instead of duplicating the literals

DCAEGEN2-114

Change-Id: I304c4f849dec64279bc4339bdb9f440b964ca37d
Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
src/main/java/com/att/nsa/dmaap/service/MMRestService.java