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>
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();