From b7b2dd80e70ba0031ba6b1ba301702de75918535 Mon Sep 17 00:00:00 2001 From: Thugutla Sailakshmi Date: Tue, 30 Jul 2019 15:21:49 +0530 Subject: CCSDK-1557 -Replace the type specification in this constructor call with the diamond operator ("<>"). Replace the type specification in this constructor call with the diamond operator ("<>"). Issue-ID: CCSDK-1557 Change-Id: I714ddaf9d289a2a1ec82b8236b83103020fd8d25 Signed-off-by: Thugutla Sailakshmi --- .../main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'aai-service') diff --git a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java index 2aa5c5444..be67f3357 100755 --- a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java +++ b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java @@ -5,7 +5,7 @@ * 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. @@ -1618,7 +1618,7 @@ public abstract class AAIDeclarations implements AAIClient { } Class resourceClass = instance.getClass(); - Set metadataKeys = new TreeSet(); + Set metadataKeys = new TreeSet<>(); Set set = params.keySet(); for(String attribute : set) { if(attribute.startsWith("metadata")) { -- cgit 1.2.3-korg