From abee3032e0d0263ff6f97be0f9840f068c9efb9b Mon Sep 17 00:00:00 2001 From: Sumapriya Sarvepalli Date: Mon, 24 Sep 2018 12:19:20 +0530 Subject: [PATCH] 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-VaiY32hFUzlqc5u3&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/security/DMaaPAuthenticatorImpl.java Line No:L74 Change-Id: I13ef44f52feaf81c89137935d2abd04d213026cd Issue-ID: DMAAP-817 Signed-off-by: Sumapriya Sarvepalli --- src/main/java/com/att/dmf/mr/security/DMaaPAuthenticatorImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/att/dmf/mr/security/DMaaPAuthenticatorImpl.java b/src/main/java/com/att/dmf/mr/security/DMaaPAuthenticatorImpl.java index 4a83a1c..0ae0839 100644 --- a/src/main/java/com/att/dmf/mr/security/DMaaPAuthenticatorImpl.java +++ b/src/main/java/com/att/dmf/mr/security/DMaaPAuthenticatorImpl.java @@ -71,7 +71,7 @@ public class DMaaPAuthenticatorImpl implements DMaaPAuthent * the size of the time window for request authentication */ public DMaaPAuthenticatorImpl(NsaApiDb db, long authTimeWindowMs) { - fAuthenticators = new LinkedList>(); + fAuthenticators = new LinkedList<>(); fAuthenticators.add(new DMaaPOriginalUebAuthenticator(db, authTimeWindowMs)); } -- 2.16.6