int index; if ((index = refillRequisitions.indexOf(task)) != -1) { refillRequisitions.set(index, null);
int index; if ((index = refillRequisitions.indexOf(task)) != -1) { refillRequisitions.set(index, null); }
  public void removeRefillRequisition(Task task) {    int index;    if ((index = refillRequisitions.indexOf(task)) != -1) {      refillRequisitions.set(index, null);    }  }