if (logger.isDebugEnabled())
if (logger.isDebugEnabled()) {
    public boolean execute(Object o) {      if (o instanceof org.cougaar.logistics.plugin.inventory.InventoryPolicy) {	String type = ((InventoryPolicy)o).getResourceType();	if (type.equals(this.type)) {	  if (logger.isInfoEnabled()) 	    logger.info("Found an inventory policy for "+this.type + "agent is: " +			getMyOrganization());	  return true;	} else {	  if (logger.isDebugEnabled()) 	    logger.debug("Ignoring type of: "+type + " in " +			 getMyOrganization() + " this type is: " + 			 this.type);	}      }      return false;    }