if (wf < 1.0){ GLMDebug.ERROR("InventoryBG", null, "Inv Day: " + day + " imputedDay: " + imputedDay + " Zero weighted supply task: "+TaskUtils.taskDesc(t)); }
if (wf < 1.0) { if (logger.isErrorEnabled()) { logger.error("Inv Day: " + day + " imputedDay: " + imputedDay + " Zero weighted supply task: " + TaskUtils.taskDesc(t)); } }
    protected void adjustTotals(Task t, double w) {      double wf = getWeightingFactor(t, imputedDay);      if (TaskUtils.isProjection(t)) {	double q = TaskUtils.getDailyQuantity(t);	if (q == 0.0 && w > 0.0) {	  GLMDebug.ERROR("InventoryBG", null, "Added refill projection having 0.0 quantity " + TaskUtils.taskDesc(t));	}	projectedTotal += q * w * wf;      } else {	if (wf < 1.0){	  GLMDebug.ERROR("InventoryBG", null,			 "Inv Day: " + day			 + " imputedDay: " + imputedDay			 + " Zero weighted supply task: "+TaskUtils.taskDesc(t));	}	actualTotal += TaskUtils.getRefillQuantity(t) * w * wf;      }      //              System.out.println("adjustTotals " + TimeUtils.dateString(convertDayToTime(day)) + ": " + getTotal());    }