diff options
author | Dan Timoney <dtimoney@att.com> | 2019-01-30 14:59:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-30 14:59:38 +0000 |
commit | 475733dfbbc7cf37b9007763e3e5c53b35149050 (patch) | |
tree | ed0809214a506980dbe5574a51185d13753b9a13 /aai-service/provider | |
parent | 9f90c664af7e19c2381efeaf52ce46f943dc2b49 (diff) | |
parent | bc58558fa52b9a65709d3b686402f8910b785eac (diff) |
Merge "fixed sonar issues in AAIServiceUtils.java"
Diffstat (limited to 'aai-service/provider')
-rwxr-xr-x | aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIServiceUtils.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIServiceUtils.java b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIServiceUtils.java index 6af9f9cd..6c48c63d 100755 --- a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIServiceUtils.java +++ b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIServiceUtils.java @@ -5,6 +5,8 @@ * Copyright (C) 2017 AT&T Intellectual Property. All rights * reserved. * ================================================================================ + * Modifications Copyright (C) 2018 IBM. + * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -153,7 +155,7 @@ public class AAIServiceUtils { String term1 = null; String op = null; String term2 = null; - HashMap<String, String> results = new HashMap<String, String>(); + HashMap<String, String> results = new HashMap<>(); for (int i = 0; i < keyTerms.length; i++) { if (term1 == null) { @@ -267,7 +269,7 @@ public class AAIServiceUtils { } protected static HashMap<String,String> pathToHashMap(String path) { - HashMap<String, String> nameValues = new HashMap<String, String>(); + HashMap<String, String> nameValues = new HashMap<>(); String[] split = path.split("/"); |