From 39122feeda8a36406aa9d3beb0e05cfb0d77981c Mon Sep 17 00:00:00 2001 From: Patrick Brady Date: Wed, 17 Jul 2019 15:02:37 -0700 Subject: Replace Lists with new ArrayList The Lists.newArrayList method is not being used here in a way that provides significant benefit over new ArrayList and Lists was causing a class not found exception. Change-Id: I61bbfc5e55cb283c10f3681a7e336ae346347d03 Signed-off-by: Patrick Brady Issue-ID: APPC-1613 --- .../org/onap/sdnc/config/params/parser/PropertyDefinitionNode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'appc-config/appc-config-params/provider') diff --git a/appc-config/appc-config-params/provider/src/main/java/org/onap/sdnc/config/params/parser/PropertyDefinitionNode.java b/appc-config/appc-config-params/provider/src/main/java/org/onap/sdnc/config/params/parser/PropertyDefinitionNode.java index a35dbea03..ab695841f 100644 --- a/appc-config/appc-config-params/provider/src/main/java/org/onap/sdnc/config/params/parser/PropertyDefinitionNode.java +++ b/appc-config/appc-config-params/provider/src/main/java/org/onap/sdnc/config/params/parser/PropertyDefinitionNode.java @@ -28,7 +28,6 @@ import com.att.eelf.configuration.EELFManager; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; -import com.google.common.collect.Lists; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; @@ -277,7 +276,8 @@ public class PropertyDefinitionNode implements SvcLogicJavaPlugin { } else { log.info("Creating/Adding New System Key " + parameter.getName() + ":" + mapper.writeValueAsString(parameter)); - List l = Lists.newArrayList(parameter.getName()); + List l = new ArrayList<>(); + l.add(parameter.getName()); systemKeysMap.put(source, l); } } -- cgit 1.2.3-korg