From b3acc89be057e65e296992320bf8f36b888e4c3d Mon Sep 17 00:00:00 2001 From: xuegao Date: Fri, 12 Jun 2020 10:39:07 +0200 Subject: Fix bug in UpdateIsVnfMenu Fix the unboxing bug reported by Sonar. Issue-ID: SDC-3112 Signed-off-by: xuegao Change-Id: I4ed3f9a48ad21af2f9f67872791df2796c4e4ad1 --- .../main/java/org/openecomp/sdc/asdctool/main/UpdateIsVnfMenu.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'asdctool/src/main/java/org/openecomp') 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); } -- cgit 1.2.3-korg