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
+2 -2
View File
@@ -50,14 +50,14 @@ public class ToolEraser extends AEBaseItem
final IBlockState state = world.getBlockState( pos );
List<BlockPos> next = new LinkedList<BlockPos>();
List<BlockPos> next = new LinkedList<>();
next.add( pos );
int blocks = 0;
while( blocks < BLOCK_ERASE_LIMIT && !next.isEmpty() )
{
final List<BlockPos> c = next;
next = new LinkedList<BlockPos>();
next = new LinkedList<>();
for( final BlockPos wc : c )
{