int currentBucket = refillBucket;
int currentBucket = refillBucket + 1;
  private double calculateDemandForPeriod(LogisticsInventoryPG thePG,                                           int refillBucket, int endOfPeriodBucket) {    double totalDemand = 0.0;    int currentBucket = refillBucket;    while (currentBucket <= endOfPeriodBucket) {      double demand = thePG.getActualDemand(currentBucket);      totalDemand = totalDemand + demand;      currentBucket = currentBucket + 1;    }    return totalDemand;  }