final variables and parameters

seeing some methods it does actually help to enforce the parameters
This commit is contained in:
thatsIch
2015-09-25 23:10:56 +02:00
parent e52400bf26
commit 410d2f1e0d
819 changed files with 9390 additions and 9396 deletions
@@ -28,25 +28,25 @@ public class NullRFHandler implements IEnergyReceiver
{
@Override
public int receiveEnergy( ForgeDirection from, int maxReceive, boolean simulate )
public int receiveEnergy( final ForgeDirection from, final int maxReceive, final boolean simulate )
{
return 0;
}
@Override
public int getEnergyStored( ForgeDirection from )
public int getEnergyStored( final ForgeDirection from )
{
return 0;
}
@Override
public int getMaxEnergyStored( ForgeDirection from )
public int getMaxEnergyStored( final ForgeDirection from )
{
return 0;
}
@Override
public boolean canConnectEnergy( ForgeDirection from )
public boolean canConnectEnergy( final ForgeDirection from )
{
return true;
}