commit | b3acc89be057e65e296992320bf8f36b888e4c3d | [log] [tgz] |
---|---|---|
author | xuegao <xg353y@intl.att.com> | Fri Jun 12 10:39:07 2020 +0200 |
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | Mon Jun 15 07:42:29 2020 +0000 |
tree | f843760ec12abc143dd0847fbe93b8f97ff6a70a | |
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
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 fc65a2d..6ab9f9c 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 @@ 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); }