Deleted unnecessary casts with Eclipse

This commit is contained in:
Andrew
2014-09-28 11:56:16 -07:00
parent 94d5319038
commit da63aca95c
89 changed files with 348 additions and 360 deletions
@@ -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;
}