if (inventory == null) {
if (inventory != null) { if (logger.isDebugEnabled()) { logger.debug("findOrMakeInventory(), FOUND inventory bing for: " + AssetUtils.assetDesc(inventory.getScheduledContentPG().getAsset())); } return inventory; } else {
  public Inventory findOrMakeInventory(Asset resource) {    Inventory inventory = null;    String item = resource.getTypeIdentificationPG().getTypeIdentification();    inventory = (Inventory) inventoryHash.get(item);    if (inventory == null) {      inventory = createInventory(resource, item);      if (inventory != null) {        addInventory(inventory);        publishAdd(inventory);        detReqHandler.findOrMakeMILTask(inventory, aggMILSubscription);      }    }    if (inventory == null) {      if (logger.isDebugEnabled()) {        logger.debug("Inventory is null for " + item);      }    } else {      if (logger.isDebugEnabled()) {        logger.debug("findOrMakeInventory(), CREATED inventory bin for: " +                     AssetUtils.assetDesc(inventory.getScheduledContentPG().getAsset()));      }    }    return inventory;  }