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
@@ -62,13 +62,13 @@ public class BlockController extends AEBaseTileBlock
@Override
public int getMetaFromState(
IBlockState state )
final IBlockState state )
{
return ((ControllerBlockState)state.getValue( CONTROLLER_STATE )).ordinal();
}
@Override
public IBlockState getStateFromMeta( int meta )
public IBlockState getStateFromMeta( final int meta )
{
return getDefaultState().withProperty( CONTROLLER_STATE, ControllerBlockState.OFFLINE );
}
@@ -89,12 +89,12 @@ public class BlockController extends AEBaseTileBlock
@Override
public void onNeighborBlockChange(
World w,
BlockPos pos,
IBlockState state,
Block neighborBlock )
final World w,
final BlockPos pos,
final IBlockState state,
final Block neighborBlock )
{
TileController tc = this.getTileEntity( w, pos );
final TileController tc = this.getTileEntity( w, pos );
if( tc != null )
{
tc.onNeighborChange( false );