summaryrefslogtreecommitdiffstats
path: root/appc-config
diff options
context:
space:
mode:
authorPatrick Brady <patrick.brady@att.com>2019-07-17 15:02:37 -0700
committerPatrick Brady <patrick.brady@att.com>2019-07-17 15:02:59 -0700
commit39122feeda8a36406aa9d3beb0e05cfb0d77981c (patch)
tree626718d355b2702b92b487097af75a45083a6658 /appc-config
parentafad136327003c1a4b8f3a5708e27d96e3374d67 (diff)
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 <patrick.brady@att.com> Issue-ID: APPC-1613
Diffstat (limited to 'appc-config')
-rw-r--r--appc-config/appc-config-params/provider/src/main/java/org/onap/sdnc/config/params/parser/PropertyDefinitionNode.java4
1 files changed, 2 insertions, 2 deletions
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<String> l = Lists.newArrayList(parameter.getName());
+ List<String> l = new ArrayList<>();
+ l.add(parameter.getName());
systemKeysMap.put(source, l);
}
}