public void dischargeItem(ItemStack aStack){
  increaseStoredEnergyUnits(GT_ModHandler.dischargeElectricItem(aStack,(int)Math.min(Integer.MAX_VALUE,getEUCapacity() - getStoredEU()),(int)Math.min(Integer.MAX_VALUE,mMetaTileEntity.getInputTier()),false,false,false),true);
}

public void dischargeItem ( ItemStack aStack ) { increaseStoredEnergyUnits ( GT_ModHandler . dischargeElectricItem ( aStack , ( int ) Math . min ( Integer . MAX_VALUE , getEUCapacity ( ) - getStoredEU ( ) ) , ( int ) Math . min ( Integer . MAX_VALUE , mMetaTileEntity . getInputTier ( ) ) , false , false , false ) , true ) ; }
called when trying to discharge items
