remove trailing whitespaces

This commit is contained in:
yueh
2015-02-03 12:04:13 +01:00
parent ef3cb0a455
commit b18addbf37
303 changed files with 1526 additions and 1526 deletions
@@ -89,8 +89,8 @@ public class ToolBiometricCard extends AEBaseItem implements IBiometricCard
private void encode(ItemStack is, EntityPlayer p)
{
GameProfile username = this.getProfile( is );
if (username != null && username.equals(p.getGameProfile()))
if (username != null && username.equals(p.getGameProfile()))
this.setProfile( is, null );
else
this.setProfile( is, p.getGameProfile() );
@@ -157,7 +157,7 @@ public class ToolBiometricCard extends AEBaseItem implements IBiometricCard
if ( profile!= null )
{
NBTTagCompound pNBT = new NBTTagCompound();
NBTUtil.func_152460_a( pNBT, profile );
NBTUtil.func_152460_a( pNBT, profile );
tag.setTag( "profile", pNBT );
}
else
@@ -47,7 +47,7 @@ public class ToolMemoryCard extends AEBaseItem implements IMemoryCard
/**
* Find the localized string...
*
*
* @param name possible names for the localized string
* @return localized name
*/
@@ -72,7 +72,7 @@ public class ToolPortableCell extends AEBasePoweredItem implements IStorageCell,
{
return false;
}
@Override
public ItemStack onItemRightClick( ItemStack item, World w, EntityPlayer player )
{
@@ -65,7 +65,7 @@ public class ToolWirelessTerminal extends AEBasePoweredItem implements IWireless
{
return false;
}
@Override
public ItemStack onItemRightClick( ItemStack item, World w, EntityPlayer player )
{
@@ -22,32 +22,32 @@ package appeng.items.tools.powered.powersink;
@Interface(iface = "universalelectricity.core.item.IItemElectric", modid = "IC2")
public class UniversalElectricity extends ThermalExpansion implements IItemElectric
{
*
*
* public UniversalElectricity(Class c, String subName) { super( c, subName ); }
*
*
* @Override public float recharge(ItemStack is, float energy, boolean
* doRecharge) { return (float) (energy - injectExternalPower( PowerUnits.KJ,
* is, energy, !doRecharge )); }
*
*
* @Override public float discharge(ItemStack is, float energy, boolean
* doDischarge) { return 0; }
*
*
* @Override public float getElectricityStored(ItemStack is) { return (int)
* PowerUnits.AE.convertTo( PowerUnits.KJ, getAECurrentPower( is ) ); }
*
*
* @Override public float getMaxElectricityStored(ItemStack is) { return (int)
* PowerUnits.AE.convertTo( PowerUnits.KJ, getAEMaxPower( is ) ); }
*
*
* @Override public void setElectricity(ItemStack is, float joules) { double
* currentPower = getAECurrentPower( is ); double targetPower =
* PowerUnits.KJ.convertTo( PowerUnits.AE, joules ); if ( targetPower >
* currentPower ) injectAEPower( is, targetPower - currentPower ); else
* extractAEPower( is, currentPower - targetPower ); }
*
*
* @Override public float getTransfer(ItemStack is) { return (float)
* PowerUnits.AE.convertTo( PowerUnits.KJ, getAEMaxPower( is ) -
* getAECurrentPower( is ) ); }
*
*
* @Override public float getVoltage(ItemStack itemStack) { return 120; }
}