Issue#839 - leftover cleanup
@@ -30,10 +30,8 @@ import java.util.UUID;
import java.util.concurrent.atomic.AtomicBoolean;
import javax.annotation.Nullable;
-import javax.inject.Inject;
import org.joda.time.LocalDate;
-import org.killbill.billing.ErrorCode;
import org.killbill.billing.callcontext.InternalTenantContext;
import org.killbill.billing.catalog.api.BillingMode;
import org.killbill.billing.catalog.api.CatalogApiException;
@@ -226,8 +224,6 @@ public class ContiguousIntervalUsageInArrear {
toBeBilledUsageDetails = reconcileExistedBilledWithToBeBilled(billedItems, toBeBilledUsageDetails);
final BigDecimal amountToBill = toBeBilledForUnit(toBeBilledUsageDetails);
- //final BigDecimal amountToBill = toBeBilledUsage.subtract(billedUsage);
-
if (amountToBill.compareTo(BigDecimal.ZERO) > 0) {
if (UsageDetailMode.DETAIL.compareTo(invoiceConfig.getItemResultBehaviorMode(internalTenantContext)) == 0){
for (ConsumableInArrearDetail toBeBilledUsageDetail : toBeBilledUsageDetails){
