if (numMilvans == 0) { numMilvans++; if (isWarnEnabled()) warn ("Got mass that was zero : " + massInSTons); }
    protected Asset getMilvanDirectObject (String itemNomen, String itemID, 					   String unit, double massInSTons) {      int numMilvans = (int) Math.ceil(massInSTons/MAX_IN_MILVAN);      double tonsLeft = massInSTons;            if (numMilvans == 1) {	  GLMAsset milvan = makeMilvan ();	  addContentsInfo (milvan, itemNomen, itemID, unit, massInSTons);	  return milvan;      }      else {	  Vector milvans = new Vector();	  for (int i = 0; i < numMilvans; i++) {	      GLMAsset milvan = makeMilvan ();	      double amount = Math.min (tonsLeft, MAX_IN_MILVAN);	      addContentsInfo (milvan, itemNomen, itemID, unit, amount);	      tonsLeft -= amount;	      milvans.add (milvan);	  }	  if ((tonsLeft > 0.0000001) || (tonsLeft < -0.0000001)) {	      error ("Tons left is not zero = " + tonsLeft);	  }	  return assetHelper.makeAssetGroup(getLDMService().getLDM().getFactory(), 					    milvans);      }    }