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
+12 -12
View File
@@ -47,21 +47,21 @@ public class ToolEraser extends AEBaseItem
@Override
public boolean onItemUseFirst(
ItemStack stack,
EntityPlayer player,
World world,
BlockPos pos,
EnumFacing side,
float hitX,
float hitY,
float hitZ )
final ItemStack stack,
final EntityPlayer player,
final World world,
final BlockPos pos,
final EnumFacing side,
final float hitX,
final float hitY,
final float hitZ )
{
if( Platform.isClient() )
{
return false;
}
IBlockState state = world.getBlockState( pos );
final IBlockState state = world.getBlockState( pos );
List<BlockPos> next = new LinkedList<BlockPos>();
next.add( pos );
@@ -69,12 +69,12 @@ public class ToolEraser extends AEBaseItem
int blocks = 0;
while( blocks < BLOCK_ERASE_LIMIT && !next.isEmpty() )
{
List<BlockPos> c = next;
final List<BlockPos> c = next;
next = new LinkedList<BlockPos>();
for( BlockPos wc : c )
for( final BlockPos wc : c )
{
IBlockState c_state = world.getBlockState( wc );
final IBlockState c_state = world.getBlockState( wc );
if( state == c_state )
{