Fixed string literal comparision issue
[so.git] / bpmn / MSOCoreBPMN / src / main / java / org / openecomp / mso / bpmn / core / domain / ServiceDecomposition.java
index 4bee115..b775999 100644 (file)
@@ -215,7 +215,7 @@ public class ServiceDecomposition extends JsonWrapper implements Serializable {
                        Resource resource = iter.next();\r
                        //resource.getModelInfo().getModelInvariantId();\r
 \r
-                       if (resourceObjectId.equals("extracted information")){\r
+                       if ("extracted information".equals(resourceObjectId)){\r
                                return resource.toJsonString();\r
                        }\r
                }\r