Removed redundant array creations just to match varargs operations

This commit is contained in:
thatsIch
2014-09-29 09:12:06 +02:00
parent 72106c877d
commit f49407de2c
24 changed files with 47 additions and 42 deletions
@@ -460,7 +460,7 @@ public class PartStorageBus extends PartUpgradeable implements IGridTickable, IC
{
IMEInventoryHandler out = proxy.isActive() ? getInternalHandler() : null;
if ( out != null )
return Arrays.asList( new IMEInventoryHandler[] { out } );
return Arrays.asList( out );
}
return Arrays.asList( new IMEInventoryHandler[] {} );
}