Deleted unnecessary casts with Eclipse
This commit is contained in:
@@ -313,7 +313,7 @@ public class CraftingCPUCluster implements IAECluster, ICraftingCPU
|
||||
if ( finalOutput.equals( what ) )
|
||||
{
|
||||
if ( myLastLink != null )
|
||||
return ((CraftingLink) myLastLink).injectItems( (IAEItemStack) what.copy(), type );
|
||||
return ((CraftingLink) myLastLink).injectItems( what.copy(), type );
|
||||
|
||||
return what; // ignore it.
|
||||
}
|
||||
@@ -331,7 +331,7 @@ public class CraftingCPUCluster implements IAECluster, ICraftingCPU
|
||||
{
|
||||
if ( myLastLink != null )
|
||||
{
|
||||
leftOver.add( ((CraftingLink) myLastLink).injectItems( (IAEItemStack) used.copy(), type ) );
|
||||
leftOver.add( ((CraftingLink) myLastLink).injectItems( used.copy(), type ) );
|
||||
return leftOver;
|
||||
}
|
||||
|
||||
@@ -391,7 +391,7 @@ public class CraftingCPUCluster implements IAECluster, ICraftingCPU
|
||||
|
||||
if ( myLastLink != null )
|
||||
{
|
||||
what.add( ((CraftingLink) myLastLink).injectItems( (IAEItemStack) insert.copy(), type ) );
|
||||
what.add( ((CraftingLink) myLastLink).injectItems( insert.copy(), type ) );
|
||||
return what;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user