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
@@ -32,7 +32,7 @@ public final class AEInvIterator implements Iterator<IAEItemStack>
private int counter = 0;
public AEInvIterator( AppEngInternalAEInventory inventory )
public AEInvIterator( final AppEngInternalAEInventory inventory )
{
this.inventory = inventory;
this.size = this.inventory.getSizeInventory();
@@ -28,7 +28,7 @@ public final class ChainedIterator<T> implements Iterator<T>
private int offset = 0;
public ChainedIterator( T... list )
public ChainedIterator( final T... list )
{
this.list = list;
}
@@ -42,7 +42,7 @@ public final class ChainedIterator<T> implements Iterator<T>
@Override
public T next()
{
T result = this.list[this.offset];
final T result = this.list[this.offset];
this.offset++;
return result;
}
@@ -32,7 +32,7 @@ public final class InvIterator implements Iterator<ItemStack>
private int counter = 0;
public InvIterator( IInventory inventory )
public InvIterator( final IInventory inventory )
{
this.inventory = inventory;
this.size = this.inventory.getSizeInventory();
@@ -47,7 +47,7 @@ public final class InvIterator implements Iterator<ItemStack>
@Override
public ItemStack next()
{
ItemStack result = this.inventory.getStackInSlot( this.counter );
final ItemStack result = this.inventory.getStackInSlot( this.counter );
this.counter++;
return result;
@@ -30,7 +30,7 @@ public final class ProxyNodeIterator implements Iterator<IGridNode>
{
private final Iterator<IGridHost> hosts;
public ProxyNodeIterator( Iterator<IGridHost> hosts )
public ProxyNodeIterator( final Iterator<IGridHost> hosts )
{
this.hosts = hosts;
}
@@ -44,7 +44,7 @@ public final class ProxyNodeIterator implements Iterator<IGridNode>
@Override
public IGridNode next()
{
IGridHost host = this.hosts.next();
final IGridHost host = this.hosts.next();
return host.getGridNode( AEPartLocation.INTERNAL );
}
@@ -32,7 +32,7 @@ public class StackToSlotIterator implements Iterator<ItemSlot>
final Iterator<ItemStack> is;
int x = 0;
public StackToSlotIterator( Iterator<ItemStack> is )
public StackToSlotIterator( final Iterator<ItemStack> is )
{
this.is = is;
}