summaryrefslogtreecommitdiffstats
path: root/common/openecomp-common-configuration-management/openecomp-configuration-management-core
diff options
context:
space:
mode:
Diffstat (limited to 'common/openecomp-common-configuration-management/openecomp-configuration-management-core')
-rw-r--r--common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/java/org/openecomp/config/ConfigurationUtils.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/java/org/openecomp/config/ConfigurationUtils.java b/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/java/org/openecomp/config/ConfigurationUtils.java
index 8a12d0cfcb..e8dc16efb6 100644
--- a/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/java/org/openecomp/config/ConfigurationUtils.java
+++ b/common/openecomp-common-configuration-management/openecomp-configuration-management-core/src/main/java/org/openecomp/config/ConfigurationUtils.java
@@ -50,7 +50,6 @@ import java.util.Map;
import java.util.Queue;
import java.util.Set;
import java.util.SortedSet;
-import java.util.Stack;
import java.util.TreeSet;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ConcurrentLinkedQueue;
@@ -64,10 +63,10 @@ import java.util.regex.Pattern;
import java.util.stream.Collectors;
import java.util.stream.Stream;
+import static com.google.common.collect.ImmutableMap.builder;
import static org.openecomp.config.api.Hint.EXTERNAL_LOOKUP;
import static org.openecomp.config.api.Hint.LATEST_LOOKUP;
import static org.openecomp.config.api.Hint.NODE_SPECIFIC;
-import static com.google.common.collect.ImmutableMap.*;
/**
* The type Configuration utils.
@@ -982,7 +981,7 @@ public class ConfigurationUtils {
* @return the configuration repository key
*/
public static String getConfigurationRepositoryKey(String[] array) {
- Stack<String> stack = new Stack<>();
+ Deque<String> stack = new ArrayDeque<>();
stack.push(Constants.DEFAULT_TENANT);
for (String element : array) {
stack.push(element);