if (logger.isWarnEnabled())
  private Collection getUnprovidedTasks(Collection tasks, Verb verb, HashMap providers) {      Iterator taskIt = tasks.iterator();      ArrayList unprovidedTasks = new ArrayList();      Task task;      Organization provider;      Allocation alloc;      long taskEnd;      Date providerEndDate;      while (taskIt.hasNext()) {	  task = (Task)taskIt.next();	  alloc = (Allocation)task.getPlanElement();	  if ((alloc != null) && (task.getVerb().equals(verb))){	      taskEnd = TaskUtils.getEndTime(task);	      provider = (Organization)alloc.getAsset();	      if (alloc.getRole() != getRole(supplyType)) {		  logger.warn("SDSD MISMATCH: " + alloc.getRole() + " " + task + "\n");		      }	      providerEndDate = (Date) providers.get(provider);	      if (providerEndDate != null && providerEndDate.getTime() < taskEnd) {		  unprovidedTasks.add(task);	      }	  }      }//       if (! unprovidedTasks.isEmpty()) {// 	  System.out.println("SDSD unprovided: " + unprovidedTasks + "\n");	//       }      return unprovidedTasks;  }