Merge pull request #178 from thatsIch/Redundant
Removed redundant array creations just to match varargs operations
This commit is contained in:
@@ -463,7 +463,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[] {} );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user