From 53903f1d96affe2c21e3ffbdd45aea8f7af0714d Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sun, 24 Mar 2019 21:40:51 -0700 Subject: fix a typo retrive -- > retrieve Change-Id: Ic6bce5b991c042cc2d19f1f72dd827644111b105 Issue-ID: SDC-2207 Signed-off-by: Liang Ding --- .../sdc/vendorsoftwareproduct/impl/ImageManagerImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src') 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); } } -- cgit 1.2.3-korg