summaryrefslogtreecommitdiffstats
path: root/adaptors/saltstack-adaptor
diff options
context:
space:
mode:
authorSingal, Kapil (ks220y) <ks220y@att.com>2021-03-16 00:37:42 -0400
committerSingal, Kapil (ks220y) <ks220y@att.com>2021-03-16 00:37:42 -0400
commit691b03daf5957d576209e5341597b28c20fd4818 (patch)
tree59f11ad8c30bb42203d44344ae350c60af137a74 /adaptors/saltstack-adaptor
parentcb07500090e0c50929e7543a63b42ff5b8dc12e3 (diff)
modernizing propertyProvider by replacing Vector to ArrayList
Issue-ID: CCSDK-3213 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ifcc3f618512f1f5a347b8045e54ba82d0e21d6dd
Diffstat (limited to 'adaptors/saltstack-adaptor')
-rw-r--r--adaptors/saltstack-adaptor/saltstack-adaptor-provider/src/main/java/org/onap/ccsdk/sli/adaptors/saltstack/impl/SaltstackAdaptorPropertiesProviderImpl.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/adaptors/saltstack-adaptor/saltstack-adaptor-provider/src/main/java/org/onap/ccsdk/sli/adaptors/saltstack/impl/SaltstackAdaptorPropertiesProviderImpl.java b/adaptors/saltstack-adaptor/saltstack-adaptor-provider/src/main/java/org/onap/ccsdk/sli/adaptors/saltstack/impl/SaltstackAdaptorPropertiesProviderImpl.java
index c5e4044fb..bbbe6f553 100644
--- a/adaptors/saltstack-adaptor/saltstack-adaptor-provider/src/main/java/org/onap/ccsdk/sli/adaptors/saltstack/impl/SaltstackAdaptorPropertiesProviderImpl.java
+++ b/adaptors/saltstack-adaptor/saltstack-adaptor-provider/src/main/java/org/onap/ccsdk/sli/adaptors/saltstack/impl/SaltstackAdaptorPropertiesProviderImpl.java
@@ -24,6 +24,8 @@
package org.onap.ccsdk.sli.adaptors.saltstack.impl;
+import java.util.ArrayList;
+import java.util.List;
import org.onap.ccsdk.sli.adaptors.saltstack.SaltstackAdaptorPropertiesProvider;
import org.onap.ccsdk.sli.core.sli.ConfigurationException;
import org.onap.ccsdk.sli.core.utils.JREFileResolver;
@@ -40,7 +42,6 @@ import java.io.IOException;
import java.io.InputStream;
import java.util.Optional;
import java.util.Properties;
-import java.util.Vector;
/**
* Responsible for determining the properties file to use and instantiating the
@@ -69,7 +70,7 @@ public class SaltstackAdaptorPropertiesProviderImpl implements SaltstackAdaptorP
/**
* A prioritized list of strategies for resolving sql-resource properties files.
*/
- private Vector<PropertiesFileResolver> saltstackAdaptorPropertiesFileResolvers = new Vector<>();
+ private List<PropertiesFileResolver> saltstackAdaptorPropertiesFileResolvers = new ArrayList<>();
/**
* The configuration properties for the db connection.