if (logger.isDebugEnabled()) { logger.debug("stashInventory(), number of inventory bins: " + entries + "for " + type); } }
  private void stashInventoryInformation(String type, Enumeration initInv){	String line;	String item = null;	double capacity, level, erq, min_reorder;        GregorianCalendar reportBaseDate;        int reportStepKind;	int entries = 0;	GLMDebug.DEBUG("InventoryPlugin",getMessageAddress(), "<"+type+"> Stashing inventories info...");		while(initInv.hasMoreElements()) {	    line = (String) initInv.nextElement();	    // Find the fields in the line, values seperated by ','	    Vector fields = FileUtils.findFields(line, ',');	    if (fields.size() < 5)		continue;	    item = (String)fields.elementAt(0);	    capacity = Double.valueOf((String)fields.elementAt(1)).doubleValue();	    level = Double.valueOf((String)fields.elementAt(2)).doubleValue();	    erq = Double.valueOf((String)fields.elementAt(3)).doubleValue();	    min_reorder = Double.valueOf((String)fields.elementAt(4)).doubleValue();            if (fields.size() < 7) {              reportBaseDate = null;              reportStepKind = 0;            } else {              reportBaseDate = parseDate((String) fields.elementAt(5));              reportStepKind = Integer.parseInt((String) fields.elementAt(6));            }// 	    GLMDebug.DEBUG("InventoryPlugin", clusterId_, "collected info for inventory item:"+// 			      item+" capacity:"+capacity+" level:"+level +" erq:"+erq+" min reorder:"+ min_reorder);	    double[] levels = {capacity,level,erq,min_reorder};            	    inventoryInitHash_.put(item, new InventoryItemInfo(levels, reportBaseDate, reportStepKind));	    entries++;	}	GLMDebug.DEBUG("InventoryPlugin", clusterId_, "stashInventory(), number of inventory bins: "+entries+"for "+type);    }