diff options
author | xuegao <xg353y@intl.att.com> | 2020-06-12 10:39:07 +0200 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-06-15 07:42:29 +0000 |
commit | b3acc89be057e65e296992320bf8f36b888e4c3d (patch) | |
tree | f843760ec12abc143dd0847fbe93b8f97ff6a70a /asdctool/src | |
parent | 743ab32a52844593d272081738d612b43cbdff31 (diff) |
Fix bug in UpdateIsVnfMenu
Fix the unboxing bug reported by Sonar.
Issue-ID: SDC-3112
Signed-off-by: xuegao <xg353y@intl.att.com>
Change-Id: I4ed3f9a48ad21af2f9f67872791df2796c4e4ad1
Diffstat (limited to 'asdctool/src')
-rw-r--r-- | asdctool/src/main/java/org/openecomp/sdc/asdctool/main/UpdateIsVnfMenu.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/main/UpdateIsVnfMenu.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/main/UpdateIsVnfMenu.java index fc65a2d2d8..6ab9f9ca2a 100644 --- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/main/UpdateIsVnfMenu.java +++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/main/UpdateIsVnfMenu.java @@ -71,8 +71,8 @@ public class UpdateIsVnfMenu { if (updatePropertyOnServiceAtLeastCertified == null) { System.exit(2); - } else if (updatePropertyOnServiceAtLeastCertified.intValue() >= 0) { - log.debug("Number of updated services is {}",updatePropertyOnServiceAtLeastCertified.intValue()); + } else if (updatePropertyOnServiceAtLeastCertified >= 0) { + log.debug("Number of updated services is {}",updatePropertyOnServiceAtLeastCertified); System.exit(0); } |