theatre: Remove explicit types

This commit is contained in:
sdburns1998
2019-07-07 21:29:30 +02:00
parent 2cdb4ef7ec
commit 312f167521
2 changed files with 4 additions and 4 deletions

View File

@@ -34,8 +34,8 @@ public class NyloHandler extends RoomHandler
public long startTime = 0L;
int startTick = 0;
ArrayList<NPC> waveSpawns = new ArrayList<NPC>();
ArrayList<NPC> waveAgros = new ArrayList<NPC>();
ArrayList<NPC> waveSpawns = new ArrayList<>();
ArrayList<NPC> waveAgros = new ArrayList<>();
@Getter(AccessLevel.PUBLIC)
private Map<NPC, Integer> pillars = new HashMap<>();
@Getter(AccessLevel.PUBLIC)

View File

@@ -51,7 +51,7 @@ public class NyloPredictor
int eastBound = 77;
int southBound = 42;
private NyloHandler handler;
private Map<Nylocas, NPC> currentSpawns = new HashMap<Nylocas, NPC>();
private Map<Nylocas, NPC> currentSpawns = new HashMap<>();
private int currentIndex = -1;
NyloPredictor(Client client, NyloHandler handler)
@@ -126,7 +126,7 @@ public class NyloPredictor
Wave checkWave = NYLOCAS_WAVES[i];
List<Nylocas> queue = new ArrayList<>(currentSpawns.keySet());
HashMap<NPC, Nylocas> npcs = new HashMap<NPC, Nylocas>();
HashMap<NPC, Nylocas> npcs = new HashMap<>();
boolean found = true;
for (Nylocas nylocas : checkWave.getSpawns())