From 02ee0ce4317679d5592cde255af5089b0959cd37 Mon Sep 17 00:00:00 2001 From: Sumapriya Sarvepalli Date: Mon, 24 Sep 2018 17:13:09 +0530 Subject: 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 --- src/main/java/com/att/dmf/mr/service/impl/UIServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 keyMap = getApiKeyDb(dmaapContext).loadAllKeyRecords(); - LinkedList keyList = new LinkedList(); + LinkedList keyList = new LinkedList<>(); JSONObject jsonList = new JSONObject(); -- cgit 1.2.3-korg