summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-03-09 15:26:40 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-09 15:26:40 +0000
commit76f11353eb304c90fd935175847ac30ec7e5bb6f (patch)
tree770ed8592383c89491177802d10fc155933a57bf
parent91c23cafdef24c3c33ed83ad3e4573874b868257 (diff)
parent5da8e441ca7b51cdb9231585d6e9c5a09c76e8c5 (diff)
Merge "Sonar Major"
-rw-r--r--ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/CreateNewMicroServiceModel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/CreateNewMicroServiceModel.java b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/CreateNewMicroServiceModel.java
index af7895695..d5233ce3d 100644
--- a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/CreateNewMicroServiceModel.java
+++ b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/CreateNewMicroServiceModel.java
@@ -192,7 +192,7 @@ public class CreateNewMicroServiceModel {
dependency = utils.getFullDependencyList(dependency, classMap);
if (!dependency.isEmpty()){
for (String element : dependency){
- MSAttributeObject temp = new MSAttributeObject();
+ MSAttributeObject temp;
if (classMap.containsKey(element)){
temp = classMap.get(element);
mainClass.addAllRefAttribute(temp.getRefAttribute());