summaryrefslogtreecommitdiffstats
path: root/common-be/src/main/java/org/openecomp
diff options
context:
space:
mode:
authorkoblosz <sandra.koblosz@nokia.com>2018-07-09 13:42:31 +0200
committerTal Gitelman <tg851x@intl.att.com>2018-08-06 10:09:52 +0000
commitbaf7f0a965d0ffebd5308d44758bfa9ba96c0c76 (patch)
treebc07c24e50a53a744484b15592fafda013159686 /common-be/src/main/java/org/openecomp
parentc8661bd2bab88a77a29167c782a76cdf729648ed (diff)
Fixes of sonar violations sdc and refactor
Issue-ID: SDC-1484 Change-Id: I3cf17454c533d3419c97af63cc6b5412976726fb Signed-off-by: Sandra Koblosz <sandra.koblosz@nokia.com>
Diffstat (limited to 'common-be/src/main/java/org/openecomp')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinition.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinition.java
index cb9316d6be..7c38eb5087 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinition.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ProductMetadataDataDefinition.java
@@ -110,7 +110,7 @@ public class ProductMetadataDataDefinition extends ComponentMetadataDataDefiniti
return false;
} else if (!fullName.equals(other.fullName))
return false;
- if (isActive == isActive) {
+ if (isActive == null) {
if (other.isActive != null)
return false;
} else if (!isActive.equals(other.isActive))