Removed explicit type arguments.
This commit is contained in:
@@ -128,10 +128,10 @@ public final class FourSepulchers extends AbstractNpcAI implements IGameXmlReade
|
||||
private static final Map<Integer, List<L2Npc>> STORED_MONSTER_SPAWNS = new HashMap<>();
|
||||
static
|
||||
{
|
||||
STORED_MONSTER_SPAWNS.put(1, new CopyOnWriteArrayList<L2Npc>());
|
||||
STORED_MONSTER_SPAWNS.put(2, new CopyOnWriteArrayList<L2Npc>());
|
||||
STORED_MONSTER_SPAWNS.put(3, new CopyOnWriteArrayList<L2Npc>());
|
||||
STORED_MONSTER_SPAWNS.put(4, new CopyOnWriteArrayList<L2Npc>());
|
||||
STORED_MONSTER_SPAWNS.put(1, new CopyOnWriteArrayList<>());
|
||||
STORED_MONSTER_SPAWNS.put(2, new CopyOnWriteArrayList<>());
|
||||
STORED_MONSTER_SPAWNS.put(3, new CopyOnWriteArrayList<>());
|
||||
STORED_MONSTER_SPAWNS.put(4, new CopyOnWriteArrayList<>());
|
||||
}
|
||||
// @formatter:off
|
||||
private static final int[][] CHEST_SPAWN_LOCATIONS =
|
||||
|
@@ -38,7 +38,7 @@ public final class GeneralDilios extends AbstractNpcAI
|
||||
private static final int GUARD_ID = 32619;
|
||||
|
||||
private L2Npc _general = null;
|
||||
private final Set<L2Spawn> _guards = Collections.newSetFromMap(new ConcurrentHashMap<L2Spawn, Boolean>());
|
||||
private final Set<L2Spawn> _guards = Collections.newSetFromMap(new ConcurrentHashMap<>());
|
||||
|
||||
private static final NpcStringId[] DILIOS_TEXT =
|
||||
{
|
||||
|
@@ -239,7 +239,7 @@ public final class Stage1 extends AbstractInstance implements IGameXmlReader
|
||||
|
||||
if (!_spawnList.containsKey(flag))
|
||||
{
|
||||
_spawnList.put(flag, new ArrayList<SODSpawn>());
|
||||
_spawnList.put(flag, new ArrayList<>());
|
||||
}
|
||||
|
||||
for (Node f = e.getFirstChild(); f != null; f = f.getNextSibling())
|
||||
|
@@ -1458,7 +1458,7 @@ public class AdminEditChar implements IAdminCommandHandler
|
||||
ip = client.getConnectionAddress().getHostAddress();
|
||||
if (ipMap.get(ip) == null)
|
||||
{
|
||||
ipMap.put(ip, new ArrayList<L2PcInstance>());
|
||||
ipMap.put(ip, new ArrayList<>());
|
||||
}
|
||||
ipMap.get(ip).add(player);
|
||||
|
||||
@@ -1512,7 +1512,7 @@ public class AdminEditChar implements IAdminCommandHandler
|
||||
final IpPack pack = new IpPack(client.getConnectionAddress().getHostAddress(), client.getTrace());
|
||||
if (ipMap.get(pack) == null)
|
||||
{
|
||||
ipMap.put(pack, new ArrayList<L2PcInstance>());
|
||||
ipMap.put(pack, new ArrayList<>());
|
||||
}
|
||||
ipMap.get(pack).add(player);
|
||||
|
||||
|
Reference in New Issue
Block a user