Finally use Java7 <>

This commit is contained in:
yueh
2017-07-20 21:21:45 +02:00
parent 8ec8babb6a
commit 7de90ed0ae
145 changed files with 315 additions and 315 deletions
@@ -229,7 +229,7 @@ public class TileCharger extends AENetworkPowerTile implements ICrankable, IGrid
}
else
{
final List<ItemStack> drops = new ArrayList<ItemStack>();
final List<ItemStack> drops = new ArrayList<>();
drops.add( myItem );
this.setInventorySlotContents( 0, ItemStack.EMPTY );
Platform.spawnDrops( this.world, this.pos.offset( this.getForward() ), drops );
@@ -245,7 +245,7 @@ public class TilePaint extends AEBaseTile
if( this.dots == null )
{
this.dots = new ArrayList<Splotch>();
this.dots = new ArrayList<>();
}
if( this.dots.size() > 20 )
@@ -87,7 +87,7 @@ public class TileSecurityStation extends AENetworkTile implements ITerminalHost,
private final AppEngInternalInventory configSlot = new AppEngInternalInventory( this, 1 );
private final IConfigManager cm = new ConfigManager( this );
private final SecurityStationInventory inventory = new SecurityStationInventory( this );
private final MEMonitorHandler<IAEItemStack> securityMonitor = new MEMonitorHandler<IAEItemStack>( this.inventory );
private final MEMonitorHandler<IAEItemStack> securityMonitor = new MEMonitorHandler<>( this.inventory );
private long securityKey;
private AEColor paintedColor = AEColor.TRANSPARENT;
private boolean isActive = false;