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; public long startTime = 0L;
int startTick = 0; int startTick = 0;
ArrayList<NPC> waveSpawns = new ArrayList<NPC>(); ArrayList<NPC> waveSpawns = new ArrayList<>();
ArrayList<NPC> waveAgros = new ArrayList<NPC>(); ArrayList<NPC> waveAgros = new ArrayList<>();
@Getter(AccessLevel.PUBLIC) @Getter(AccessLevel.PUBLIC)
private Map<NPC, Integer> pillars = new HashMap<>(); private Map<NPC, Integer> pillars = new HashMap<>();
@Getter(AccessLevel.PUBLIC) @Getter(AccessLevel.PUBLIC)

View File

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