Merge pull request #178 from thatsIch/Redundant
Removed redundant array creations just to match varargs operations
This commit is contained in:
@@ -122,7 +122,7 @@ public class TileCrank extends AEBaseTile implements ICustomCollision
|
||||
double yOff = -0.15 * getUp().offsetY;
|
||||
double zOff = -0.15 * getUp().offsetZ;
|
||||
return Arrays
|
||||
.asList( new AxisAlignedBB[] { AxisAlignedBB.getBoundingBox( xOff + 0.15, yOff + 0.15, zOff + 0.15, xOff + 0.85, yOff + 0.85, zOff + 0.85 ) } );
|
||||
.asList( AxisAlignedBB.getBoundingBox( xOff + 0.15, yOff + 0.15, zOff + 0.15, xOff + 0.85, yOff + 0.85, zOff + 0.85 ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -576,14 +576,14 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan
|
||||
{
|
||||
try
|
||||
{
|
||||
return Arrays.asList( new IMEInventoryHandler[] { getHandler( channel ) } );
|
||||
return Arrays.asList( getHandler( channel ) );
|
||||
}
|
||||
catch (ChestNoHandler e)
|
||||
{
|
||||
// :P
|
||||
}
|
||||
}
|
||||
return new ArrayList();
|
||||
return new ArrayList<IMEInventoryHandler>();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user