Finally use Java7 <>
This commit is contained in:
@@ -50,7 +50,7 @@ public final class CompassService
|
||||
{
|
||||
private static final int CHUNK_SIZE = 16;
|
||||
|
||||
private final Map<World, CompassReader> worldSet = new HashMap<World, CompassReader>( 10 );
|
||||
private final Map<World, CompassReader> worldSet = new HashMap<>( 10 );
|
||||
private final ExecutorService executor;
|
||||
|
||||
/**
|
||||
|
||||
@@ -30,7 +30,7 @@ import com.google.common.base.Preconditions;
|
||||
|
||||
public final class CompassReader
|
||||
{
|
||||
private final Map<Long, CompassRegion> regions = new HashMap<Long, CompassRegion>( 100 );
|
||||
private final Map<Long, CompassRegion> regions = new HashMap<>( 100 );
|
||||
private final int dimensionId;
|
||||
private final File worldCompassFolder;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user