Fix the unboxing bug reported by Sonar.
Issue-ID: SDC-3112
Signed-off-by: xuegao <xg353y@intl.att.com>
Change-Id: I4ed3f9a48ad21af2f9f67872791df2796c4e4ad1
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);
}