From: Sumapriya Sarvepalli Date: Mon, 24 Sep 2018 06:49:20 +0000 (+0530) Subject: Sonar major issues X-Git-Tag: 1.1.10~7 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fmessagerouter%2Fmsgrtr.git;a=commitdiff_plain;h=abee3032e0d0263ff6f97be0f9840f068c9efb9b 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 --- 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)); }