summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumapriya Sarvepalli <ss00493505@techmahindra.com>2018-09-24 17:13:09 +0530
committerSumapriya Sarvepalli <ss00493505@techmahindra.com>2018-09-24 17:13:09 +0530
commit02ee0ce4317679d5592cde255af5089b0959cd37 (patch)
tree9029f7804508c7e8d39efebebc9f4d6f22a54a76
parenta57435f4f0491048a75f68231e95ab7744c9c176 (diff)
Sonar major issues
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-ValM32hFUzlqc5zd&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/service/impl/UIServiceImpl.java Line No:L79 Change-Id: Ie5ccf2f20a1abe00076afc6c25c08d0ee01c65aa Issue-ID: DMAAP-822 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
-rw-r--r--src/main/java/com/att/dmf/mr/service/impl/UIServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/dmf/mr/service/impl/UIServiceImpl.java b/src/main/java/com/att/dmf/mr/service/impl/UIServiceImpl.java
index c8bb073..b624a39 100644
--- a/src/main/java/com/att/dmf/mr/service/impl/UIServiceImpl.java
+++ b/src/main/java/com/att/dmf/mr/service/impl/UIServiceImpl.java
@@ -76,7 +76,7 @@ public class UIServiceImpl implements UIService {
LOGGER.info("Fetching list of all api keys and returning in a templated form for display.");
Map<String, NsaSimpleApiKey> keyMap = getApiKeyDb(dmaapContext).loadAllKeyRecords();
- LinkedList<JSONObject> keyList = new LinkedList<JSONObject>();
+ LinkedList<JSONObject> keyList = new LinkedList<>();
JSONObject jsonList = new JSONObject();