if (publishedTasks.isEmpty() && newTasks.isEmpty()) { continue; }
  private void handleExpandedGpTask(Task gpTask, Schedule schedule, Asset consumer, PropertyGroup pg, TimeSpan timespan) {    Collection consumedItems = getConsumed(pg);    ArrayList assetList = new ArrayList(1);    for (Iterator iterator = consumedItems.iterator(); iterator.hasNext();) {      Asset asset = (Asset) iterator.next();      Collection publishedTasks =  dfPlugin.projectSupplySet(gpTask, asset);      if (publishedTasks.isEmpty()) {        continue;      }      assetList.clear();      assetList.add(asset);      logger.debug("Handling consumed item " + dfPlugin.getAssetUtils().getAssetIdentifier(asset));      Collection newTasks = buildTaskList(pg, assetList, schedule, gpTask, consumer);      Schedule publishedTasksSched = TaskUtils.newObjectSchedule(publishedTasks);      Schedule newTasksSched = TaskUtils.newObjectSchedule(newTasks);      Collection diffedTasks = diffProjections(publishedTasksSched, newTasksSched, timespan);      addToAndPublishExpansion(gpTask, diffedTasks);    }  }