aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src
diff options
context:
space:
mode:
authorLiang Ding <liang.ding@intel.com>2019-03-24 21:40:51 -0700
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-03-25 10:49:01 +0000
commit53903f1d96affe2c21e3ffbdd45aea8f7af0714d (patch)
treec20ac44bf271923c4e76fd3177816a779c521d2e /openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src
parent804ec686128a49628e9f656397e4a4512e4c5714 (diff)
fix a typo
retrive -- > retrieve Change-Id: Ic6bce5b991c042cc2d19f1f72dd827644111b105 Issue-ID: SDC-2207 Signed-off-by: Liang Ding <liang.ding@intel.com>
Diffstat (limited to 'openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src')
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/ImageManagerImpl.java8
1 files changed, 4 insertions, 4 deletions
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);
}
}