summaryrefslogtreecommitdiffstats
path: root/sparkybe-onap-service/src
diff options
context:
space:
mode:
authorSteven Blimkie <Steven.Blimkie@amdocs.com>2018-03-29 17:14:00 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-29 17:14:00 +0000
commit90f3c038df1977779632f71f0aedf112a409919f (patch)
tree87dcab8d3e79a545806642fdea54faae0e558530 /sparkybe-onap-service/src
parenteb2c0c4eb9fd10d150072c86b62f65aa1809fc06 (diff)
parent32940b8f0b4ff511b848401eb8063e0529ebfeb4 (diff)
Merge "Replace type specification in constructor call"
Diffstat (limited to 'sparkybe-onap-service/src')
-rw-r--r--sparkybe-onap-service/src/main/java/org/onap/aai/sparky/autosuggestion/sync/AutosuggestionSynchronizer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sparkybe-onap-service/src/main/java/org/onap/aai/sparky/autosuggestion/sync/AutosuggestionSynchronizer.java b/sparkybe-onap-service/src/main/java/org/onap/aai/sparky/autosuggestion/sync/AutosuggestionSynchronizer.java
index aad7bcb..ab1c7af 100644
--- a/sparkybe-onap-service/src/main/java/org/onap/aai/sparky/autosuggestion/sync/AutosuggestionSynchronizer.java
+++ b/sparkybe-onap-service/src/main/java/org/onap/aai/sparky/autosuggestion/sync/AutosuggestionSynchronizer.java
@@ -389,7 +389,7 @@ public class AutosuggestionSynchronizer extends AbstractEntitySynchronizer
if (attr != null) {
suggestableAttr = Arrays.asList(attr.split(","));
- List<String> suggestableValue = new ArrayList<String>();
+ List<String> suggestableValue = new ArrayList<>();
for (String attribute : suggestableAttr) {
if (node.get(attribute) != null && node.get(attribute).asText().length() > 0) {
suggestableValue.add(attribute);
@@ -399,7 +399,7 @@ public class AutosuggestionSynchronizer extends AbstractEntitySynchronizer
}
}
- return new ArrayList<String>();
+ return new ArrayList<>();
}
/**