From: xuegao Date: Fri, 12 Jun 2020 08:39:07 +0000 (+0200) Subject: Fix bug in UpdateIsVnfMenu X-Git-Tag: 1.7.0~76 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F90%2F109090%2F2;p=sdc.git Fix bug in UpdateIsVnfMenu Fix the unboxing bug reported by Sonar. Issue-ID: SDC-3112 Signed-off-by: xuegao 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 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); }