final variables and parameters

This commit is contained in:
thatsIch
2015-09-30 14:24:40 +02:00
parent 059523f543
commit 8b3a954f73
732 changed files with 9253 additions and 9256 deletions
@@ -49,12 +49,12 @@ public class TileCraftingMonitorTile extends TileCraftingTile implements IColora
AEColor paintedColor = AEColor.Transparent;
@TileEvent( TileEventType.NETWORK_READ )
public boolean readFromStream_TileCraftingMonitorTile( ByteBuf data ) throws IOException
public boolean readFromStream_TileCraftingMonitorTile( final ByteBuf data ) throws IOException
{
AEColor oldPaintedColor = this.paintedColor;
final AEColor oldPaintedColor = this.paintedColor;
this.paintedColor = AEColor.values()[data.readByte()];
boolean hasItem = data.readBoolean();
final boolean hasItem = data.readBoolean();
if( hasItem )
{
@@ -70,7 +70,7 @@ public class TileCraftingMonitorTile extends TileCraftingTile implements IColora
}
@TileEvent( TileEventType.NETWORK_WRITE )
public void writeToStream_TileCraftingMonitorTile( ByteBuf data ) throws IOException
public void writeToStream_TileCraftingMonitorTile( final ByteBuf data ) throws IOException
{
data.writeByte( this.paintedColor.ordinal() );
@@ -86,7 +86,7 @@ public class TileCraftingMonitorTile extends TileCraftingTile implements IColora
}
@TileEvent( TileEventType.WORLD_NBT_READ )
public void readFromNBT_TileCraftingMonitorTile( NBTTagCompound data )
public void readFromNBT_TileCraftingMonitorTile( final NBTTagCompound data )
{
if( data.hasKey( "paintedColor" ) )
{
@@ -95,7 +95,7 @@ public class TileCraftingMonitorTile extends TileCraftingTile implements IColora
}
@TileEvent( TileEventType.WORLD_NBT_WRITE )
public void writeToNBT_TileCraftingMonitorTile( NBTTagCompound data )
public void writeToNBT_TileCraftingMonitorTile( final NBTTagCompound data )
{
data.setByte( "paintedColor", (byte) this.paintedColor.ordinal() );
}
@@ -112,7 +112,7 @@ public class TileCraftingMonitorTile extends TileCraftingTile implements IColora
return true;
}
public void setJob( IAEItemStack is )
public void setJob( final IAEItemStack is )
{
if( ( is == null ) != ( this.dspPlay == null ) )
{
@@ -147,7 +147,7 @@ public class TileCraftingMonitorTile extends TileCraftingTile implements IColora
}
@Override
public boolean recolourBlock( EnumFacing side, AEColor newPaintedColor, EntityPlayer who )
public boolean recolourBlock( final EnumFacing side, final AEColor newPaintedColor, final EntityPlayer who )
{
if( this.paintedColor == newPaintedColor )
{