Finally use Java7 <>
This commit is contained in:
@@ -396,11 +396,11 @@ public class PartFormationPlane extends PartUpgradeable implements ICellContaine
|
||||
{
|
||||
if( this.getProxy().isActive() && channel == StorageChannel.ITEMS )
|
||||
{
|
||||
final List<IMEInventoryHandler> Handler = new ArrayList<IMEInventoryHandler>( 1 );
|
||||
final List<IMEInventoryHandler> Handler = new ArrayList<>( 1 );
|
||||
Handler.add( this.myHandler );
|
||||
return Handler;
|
||||
}
|
||||
return new ArrayList<IMEInventoryHandler>();
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -84,7 +84,7 @@ public class PartIdentityAnnihilationPlane extends PartAnnihilationPlane
|
||||
|
||||
if( state.getBlock().canSilkHarvest( w, pos, state, fakePlayer ) )
|
||||
{
|
||||
final List<ItemStack> out = new ArrayList<ItemStack>( 1 );
|
||||
final List<ItemStack> out = new ArrayList<>( 1 );
|
||||
final Item item = Item.getItemFromBlock( state.getBlock() );
|
||||
|
||||
if( item != Items.AIR )
|
||||
|
||||
Reference in New Issue
Block a user