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>
* 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));
}