diff options
Diffstat (limited to 'openecomp-be')
2 files changed, 8 insertions, 8 deletions
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-license-manager/src/test/java/org/openecomp/sdc/vendorlicense/impl/EntitlementPoolTest.java b/openecomp-be/backend/openecomp-sdc-vendor-license-manager/src/test/java/org/openecomp/sdc/vendorlicense/impl/EntitlementPoolTest.java index 03be183ab7..7b40686271 100644 --- a/openecomp-be/backend/openecomp-sdc-vendor-license-manager/src/test/java/org/openecomp/sdc/vendorlicense/impl/EntitlementPoolTest.java +++ b/openecomp-be/backend/openecomp-sdc-vendor-license-manager/src/test/java/org/openecomp/sdc/vendorlicense/impl/EntitlementPoolTest.java @@ -330,12 +330,12 @@ public class EntitlementPoolTest { doReturn(entitlementPool).when(entitlementPoolDao).get(anyObject()); - EntitlementPoolEntity retrived = vendorLicenseManagerImpl.getEntitlementPool(entitlementPool); + EntitlementPoolEntity retrieved = vendorLicenseManagerImpl.getEntitlementPool(entitlementPool); - Assert.assertEquals(retrived.getId(), entitlementPool.getId()); - Assert.assertEquals(retrived.getVendorLicenseModelId(), + Assert.assertEquals(retrieved.getId(), entitlementPool.getId()); + Assert.assertEquals(retrieved.getVendorLicenseModelId(), entitlementPool.getVendorLicenseModelId()); - Assert.assertEquals(retrived.getVersion(), entitlementPool.getVersion()); + Assert.assertEquals(retrieved.getVersion(), entitlementPool.getVersion()); } @Test diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/ImageManagerImpl.java b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/ImageManagerImpl.java index 66f9e97d04..1e547d33ce 100644 --- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/ImageManagerImpl.java +++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/ImageManagerImpl.java @@ -131,8 +131,8 @@ public class ImageManagerImpl implements ImageManager { } } - private void validateHeatVspImageUpdate(String name, String value, String retrivedValue) { - if (value != null && !value.equals(retrivedValue)) { + private void validateHeatVspImageUpdate(String name, String value, String retrievedValue) { + if (value != null && !value.equals(retrievedValue)) { final ErrorCode updateHeatImageErrorBuilder = ImageErrorBuilder.getImageHeatReadOnlyErrorBuilder(name); throw new CoreException(updateHeatImageErrorBuilder); @@ -189,8 +189,8 @@ public class ImageManagerImpl implements ImageManager { componentId, imageId); final String data = imageQuestionnaire.getData(); if (data != null) { - String retrivedFormat = JsonUtil.json2Object(data, ImageDetails.class).getFormat(); - validateHeatVspImageUpdate("format", format, retrivedFormat); + String retrievedFormat = JsonUtil.json2Object(data, ImageDetails.class).getFormat(); + validateHeatVspImageUpdate("format", format, retrievedFormat); } } |