summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aai-resources/src/main/java/org/openecomp/aai/rest/tools/ModelVersionTransformer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/aai-resources/src/main/java/org/openecomp/aai/rest/tools/ModelVersionTransformer.java b/aai-resources/src/main/java/org/openecomp/aai/rest/tools/ModelVersionTransformer.java
index 141d71a..d840b90 100644
--- a/aai-resources/src/main/java/org/openecomp/aai/rest/tools/ModelVersionTransformer.java
+++ b/aai-resources/src/main/java/org/openecomp/aai/rest/tools/ModelVersionTransformer.java
@@ -285,7 +285,7 @@ public class ModelVersionTransformer extends RESTAPI {
oldVal = oldRelationshipDatum.getValue("relationship-value");
}
- if (oldProp.equals("model.model-name-version-id")) {
+ if ("model.model-name-version-id".equals(oldProp)) {
// make two new relationshipDatum for use w/ the new style model
// you should have the model in the list of models we collected earlier