getLoggingService().info("Subtracting - " + task.getUID () + " for "+ receiverID + " - " + typeID + " - " + quantity);
if (getLoggingService().isInfoEnabled()) { getLoggingService().info("Subtracting - " + task.getUID () + " for "+ receiverID + " - " + typeID + " - " + quantity); }
  protected void subtractTaskFromReceiver (Task task) {    TypeIdentificationPG typeIdentificationPG =      task.getDirectObject().getTypeIdentificationPG();    String typeID;    if (typeIdentificationPG != null) {      typeID = typeIdentificationPG.getTypeIdentification();      if ((typeID == null) || (typeID.equals(""))) {	typeID = UNKNOWN;      }    } else {      typeID = UNKNOWN;    }    Object receiver =      task.getPrepositionalPhrase(Constants.Preposition.FOR);    if (receiver != null)      receiver = ((PrepositionalPhrase) receiver).getIndirectObject();    String receiverID;    // Add field with recipient    if (receiver == null) {      receiverID = UNKNOWN;      getLoggingService().error("Filler.addContentsInfo - Task " + task.getUID() + " had no FOR prep.");    } else if (receiver instanceof String) {      receiverID = (String) receiver;    } else if (!(receiver instanceof Asset)) {      receiverID = UNKNOWN;    } else {      ItemIdentificationPG itemIdentificationPG =	((Asset) receiver).getItemIdentificationPG();      if ((itemIdentificationPG == null) ||	  (itemIdentificationPG.getItemIdentification() == null) ||	  (itemIdentificationPG.getItemIdentification().equals(""))) {	receiverID = UNKNOWN;      } else {	receiverID = itemIdentificationPG.getItemIdentification();      }    }    double quantity = task.getPreferredValue(AspectType.QUANTITY);    getLoggingService().info("Subtracting - " + task.getUID () + " for "+ 			     receiverID + " - " + typeID + " - " + quantity);    subtractFromReceiver (receiverID, typeID, quantity);  }