diff options
author | Sumapriya Sarvepalli <ss00493505@techmahindra.com> | 2018-09-24 12:19:20 +0530 |
---|---|---|
committer | Sumapriya Sarvepalli <ss00493505@techmahindra.com> | 2018-09-24 12:19:20 +0530 |
commit | abee3032e0d0263ff6f97be0f9840f068c9efb9b (patch) | |
tree | 81b9df2b232c25b57eff06d3bbdd2b6d124c2675 /src/main | |
parent | d386ba36ca23b3cef9d5bcfe65e0e3f6501cda5b (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-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 <ss00493505@techmahindra.com>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/att/dmf/mr/security/DMaaPAuthenticatorImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<K extends NsaApiKey> implements DMaaPAuthent * the size of the time window for request authentication */ public DMaaPAuthenticatorImpl(NsaApiDb<K> db, long authTimeWindowMs) { - fAuthenticators = new LinkedList<DMaaPAuthenticator<K>>(); + fAuthenticators = new LinkedList<>(); fAuthenticators.add(new DMaaPOriginalUebAuthenticator<K>(db, authTimeWindowMs)); } |