Fix for Sonar Blocker issues 69/13469/4
authorrama-huawei <rama.subba.reddy.s@huawei.com>
Tue, 19 Sep 2017 12:56:52 +0000 (18:26 +0530)
committerRama SubbaReddy <rama.subba.reddy.s@huawei.com>
Tue, 19 Sep 2017 15:26:29 +0000 (15:26 +0000)
commit1a1d919bbba5346ab8a1e459595f5062fcb35fe9
treef84130bded0b122f9693ce047c3a945ed81fda12
parenta6b9b0df565307fb66499f9862791f0d4fd4c68b
Fix for Sonar Blocker issues

NullPointerException might be thrown

Replace the type specification on RHS side

Iterate over the "entrySet" instead of the "keySet".

The return type of this method should be an interface such as "Map" rather than the implementation "HashMap".

DCAEGEN2-114

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