} else if (!detReqSubscription.isEmpty()) { aggMILTask = createAggTask(detReqSubscription.elements()); inventoryPlugin.publishAdd(aggMILTask); }
}
  public Task getDetermineRequirementsTask(IncrementalSubscription detReqSubscription,					   CollectionSubscription aggMILSubscription) {    if (aggMILTask == null) {      if (!aggMILSubscription.isEmpty()) {	aggMILTask = (Task) aggMILSubscription.elements().nextElement();      } else if (!detReqSubscription.isEmpty()) {	aggMILTask = createAggTask(detReqSubscription.elements());	inventoryPlugin.publishAdd(aggMILTask);      }    }    return aggMILTask;  }