diff options
author | 2021-03-16 00:37:42 -0400 | |
---|---|---|
committer | 2021-03-16 00:37:42 -0400 | |
commit | 691b03daf5957d576209e5341597b28c20fd4818 (patch) | |
tree | 59f11ad8c30bb42203d44344ae350c60af137a74 /core/sli/provider | |
parent | cb07500090e0c50929e7543a63b42ff5b8dc12e3 (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 'core/sli/provider')
-rw-r--r-- | core/sli/provider/src/main/java/org/onap/ccsdk/sli/core/sli/provider/SvcLogicPropertiesProviderImpl.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/sli/provider/src/main/java/org/onap/ccsdk/sli/core/sli/provider/SvcLogicPropertiesProviderImpl.java b/core/sli/provider/src/main/java/org/onap/ccsdk/sli/core/sli/provider/SvcLogicPropertiesProviderImpl.java index 40d305610..d415bb186 100644 --- a/core/sli/provider/src/main/java/org/onap/ccsdk/sli/core/sli/provider/SvcLogicPropertiesProviderImpl.java +++ b/core/sli/provider/src/main/java/org/onap/ccsdk/sli/core/sli/provider/SvcLogicPropertiesProviderImpl.java @@ -25,9 +25,10 @@ import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; +import java.util.ArrayList; +import java.util.List; import java.util.Optional; import java.util.Properties; -import java.util.Vector; import org.onap.ccsdk.sli.core.sli.ConfigurationException; import org.onap.ccsdk.sli.core.sli.provider.base.SvcLogicPropertiesProvider; @@ -67,7 +68,7 @@ public class SvcLogicPropertiesProviderImpl implements SvcLogicPropertiesProvide /** * A prioritized list of strategies for resolving dblib properties files. */ - private Vector<PropertiesFileResolver> sliPropertiesFileResolvers = new Vector<>(); + private List<PropertiesFileResolver> sliPropertiesFileResolvers = new ArrayList<>(); /** * The configuration properties for the db connection. Use EnvProperties class, which |