int index; while ((index = refillProjections.indexOf(task)) != -1) { refillProjections.set(index, null);
int index; while ((index = refillProjections.indexOf(task)) != -1) { refillProjections.set(index, null); }
  public void removeRefillProjection(Task task) {    int index;    while ((index = refillProjections.indexOf(task)) != -1) {	refillProjections.set(index, null);    }  }