final variables and parameters
This commit is contained in:
@@ -41,7 +41,7 @@ public class IngredientSet implements IIngredient
|
||||
private final boolean isInside = false;
|
||||
private ItemStack[] baked;
|
||||
|
||||
public IngredientSet( ResolverResultSet rr, int qty )
|
||||
public IngredientSet( final ResolverResultSet rr, final int qty )
|
||||
{
|
||||
Preconditions.checkNotNull( rr );
|
||||
Preconditions.checkNotNull( rr.name );
|
||||
@@ -72,7 +72,7 @@ public class IngredientSet implements IIngredient
|
||||
return new ItemStack[0];
|
||||
}
|
||||
|
||||
List<ItemStack> out = new LinkedList<ItemStack>();
|
||||
final List<ItemStack> out = new LinkedList<ItemStack>();
|
||||
out.addAll( this.items );
|
||||
|
||||
if( out.isEmpty() )
|
||||
@@ -80,7 +80,7 @@ public class IngredientSet implements IIngredient
|
||||
throw new MissingIngredientError( this.toString() + " - group could not be resolved to any items." );
|
||||
}
|
||||
|
||||
for( ItemStack is : out )
|
||||
for( final ItemStack is : out )
|
||||
{
|
||||
is.stackSize = this.qty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user