summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl')
-rw-r--r--openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ManufacturerReferenceNumberHealer.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ManufacturerReferenceNumberHealer.java b/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ManufacturerReferenceNumberHealer.java
index 237e4bf55b..4bb5bc865a 100644
--- a/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ManufacturerReferenceNumberHealer.java
+++ b/openecomp-be/lib/openecomp-healing-lib/openecomp-sdc-healing-impl/src/main/java/org/openecomp/sdc/healing/healers/ManufacturerReferenceNumberHealer.java
@@ -32,7 +32,7 @@ import java.util.Set;
public class ManufacturerReferenceNumberHealer implements Healer {
- private static final String manufacturerReferenceNumber = "MRN";
+ private static final String MANUFACTURER_REFERENCE_NUMBER = "MRN";
private VendorLicenseFacade vendorLicenseFacade = VendorLicenseFacadeFactory.getInstance()
.createInterface();
private static final FeatureGroupDao featureGroupDao =
@@ -64,7 +64,7 @@ public class ManufacturerReferenceNumberHealer implements Healer {
entitlementPoolEntity.setManufacturerReferenceNumber(getMRN(itemId, version,
referencingFeatureGroup));
} else {
- entitlementPoolEntity.setManufacturerReferenceNumber(manufacturerReferenceNumber);
+ entitlementPoolEntity.setManufacturerReferenceNumber(MANUFACTURER_REFERENCE_NUMBER);
}
vendorLicenseFacade.updateEntitlementPool(entitlementPoolEntity);
}
@@ -80,7 +80,7 @@ public class ManufacturerReferenceNumberHealer implements Healer {
licenseKeyGroupEntity.setManufacturerReferenceNumber(getMRN(itemId, version,
referencingFeatureGroup));
} else {
- licenseKeyGroupEntity.setManufacturerReferenceNumber(manufacturerReferenceNumber);
+ licenseKeyGroupEntity.setManufacturerReferenceNumber(MANUFACTURER_REFERENCE_NUMBER);
}
vendorLicenseFacade.updateLicenseKeyGroup(licenseKeyGroupEntity);
}
@@ -99,7 +99,7 @@ public class ManufacturerReferenceNumberHealer implements Healer {
(itemId, version);
for (FeatureGroupEntity featureGroupEntity : featureGroupEntities) {
- featureGroupEntity.setManufacturerReferenceNumber("");
+ featureGroupEntity.setManufacturerReferenceNumber(null);
featureGroupDao.update(featureGroupEntity);
}
}