aboutsummaryrefslogtreecommitdiffstats
path: root/ms/neng/src/main
diff options
context:
space:
mode:
authorBT2983 <BT2983@att.com>2018-07-23 15:17:35 -0600
committerBT2983 <BT2983@att.com>2018-07-23 15:17:35 -0600
commit3437d0aa56f7c0630cbd1b9074579f7e0f8a44ae (patch)
tree09f0f0223f240185bd5704c64877756501f94cbf /ms/neng/src/main
parent5a398289dee4b666528aa77f4e38f9c68d35b254 (diff)
Adding naming micro-service code - tests.
Unit tests. Change-Id: I14176a8b47764d5e308258fd9b24bf3e301d04d5 Issue-ID: CCSDK-342 Signed-off-by: BT2983 <BT2983@att.com>
Diffstat (limited to 'ms/neng/src/main')
-rw-r--r--ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/policy/PolicyReader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/policy/PolicyReader.java b/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/policy/PolicyReader.java
index de034f04..778c4781 100644
--- a/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/policy/PolicyReader.java
+++ b/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/policy/PolicyReader.java
@@ -285,7 +285,7 @@ public abstract class PolicyReader implements PolicyFinder {
if (policy != null) {
@SuppressWarnings("unchecked")
List<Map<String, ?>> listObj = (List<Map<String, ?>>) policy.get(name);
- if (list instanceof List<?>) {
+ if (listObj instanceof List<?>) {
list = listObj;
}
}