diff options
author | Dan Timoney <dtimoney@att.com> | 2018-12-03 19:41:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-12-03 19:41:47 +0000 |
commit | 5310a39e93317431d0bfb0a16771f08a208429be (patch) | |
tree | d01e8819daa25a5aa4a8ef17116ed493c929b2f8 /ms/neng/src/main | |
parent | b2d1d54631df911cd0565f1474e8b4da20628b29 (diff) | |
parent | b1001d9cd888f9947145ca7fc17698791b95a0e5 (diff) |
Merge "fixed sonar issues in SpringServiceImpl.java"
Diffstat (limited to 'ms/neng/src/main')
-rw-r--r-- | ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/service/SpringServiceImpl.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/service/SpringServiceImpl.java b/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/service/SpringServiceImpl.java index 01c8324d..c5cabe51 100644 --- a/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/service/SpringServiceImpl.java +++ b/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/service/SpringServiceImpl.java @@ -115,7 +115,7 @@ public class SpringServiceImpl implements SpringService { List<Map<String, String>> allElements = new ArrayList<>(); Map<String, Map<String, ?>> policyCache = new HashMap<>(); List<Map<String, String>> generatedNames = new ArrayList<>(); - List<String> earlierNamingTypes = new ArrayList<String>(); + List<String> earlierNamingTypes = new ArrayList<>(); validateRequest(request); if (request.getElements() != null && !request.getElements().isEmpty()) { allElements.addAll(request.getElements()); @@ -226,6 +226,7 @@ public class SpringServiceImpl implements SpringService { } void validateRequest(NameGenRequest request) throws Exception { + // this method does nothing } private PolicyFinder findPolicyFinderImpl(NameGenRequest request) { |