From: Driptaroop Das Date: Thu, 3 Jan 2019 08:49:22 +0000 (+0530) Subject: IssueFix-Replace type with diamonds X-Git-Tag: 1.0.26~61^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fdbcapi.git;a=commitdiff_plain;h=fa24cf0508dcec6bea9cd8b69eb1eda977d058bb IssueFix-Replace type with diamonds AafLurService.java - Replace the type specification in this constructor call with the diamond operator ("<>"). Issue-ID: DMAAP-925 Change-Id: I6f1309c3270198e55bccfb365776fd27ebc1d5fd Signed-off-by: Driptaroop Das --- diff --git a/src/main/java/org/onap/dmaap/dbcapi/aaf/AafLurService.java b/src/main/java/org/onap/dmaap/dbcapi/aaf/AafLurService.java index 2ebf403..537c773 100644 --- a/src/main/java/org/onap/dmaap/dbcapi/aaf/AafLurService.java +++ b/src/main/java/org/onap/dmaap/dbcapi/aaf/AafLurService.java @@ -3,7 +3,7 @@ * org.onap.dmaap * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * Modifications Copyright (C) 2018 IBM. + * Modifications Copyright (C) 2019 IBM. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -128,7 +128,7 @@ public class AafLurService extends BaseLoggingClass { return rc; } - List perms = new ArrayList(); + List perms = new ArrayList<>(); aafLur.fishAll( principal, perms); String key = aafPerm.getKey(); for ( Permission prm: perms ) {