From fa24cf0508dcec6bea9cd8b69eb1eda977d058bb Mon Sep 17 00:00:00 2001 From: Driptaroop Das Date: Thu, 3 Jan 2019 14:19:22 +0530 Subject: 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 --- src/main/java/org/onap/dmaap/dbcapi/aaf/AafLurService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/org/onap') 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 ) { -- cgit 1.2.3-korg