cleanup: use implicit generic type with diamond operator
This commit is contained in:
@@ -285,7 +285,7 @@ public class AbstractPlayerInteraction {
|
||||
|
||||
List<List<Pair<Integer, Integer>>> invList = new ArrayList<>(6);
|
||||
for(int i = MapleInventoryType.UNDEFINED.getType(); i < MapleInventoryType.CASH.getType(); i++) {
|
||||
invList.add(new LinkedList<Pair<Integer, Integer>>());
|
||||
invList.add(new LinkedList<>());
|
||||
}
|
||||
|
||||
for(int i = 0; i < size; i++) {
|
||||
|
||||
@@ -67,8 +67,8 @@ public class EventManager {
|
||||
private World wserv;
|
||||
private Server server;
|
||||
private EventScriptScheduler ess = new EventScriptScheduler();
|
||||
private Map<String, EventInstanceManager> instances = new HashMap<String, EventInstanceManager>();
|
||||
private Map<String, Integer> instanceLocks = new HashMap<String, Integer>();
|
||||
private Map<String, EventInstanceManager> instances = new HashMap<>();
|
||||
private Map<String, Integer> instanceLocks = new HashMap<>();
|
||||
private final Queue<Integer> queuedGuilds = new LinkedList<>();
|
||||
private final Map<Integer, Integer> queuedGuildLeaders = new HashMap<>();
|
||||
private List<Boolean> openedLobbys;
|
||||
|
||||
Reference in New Issue
Block a user