Removed explicit type arguments.
This commit is contained in:
@@ -1434,7 +1434,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);
|
||||
|
||||
@@ -1488,7 +1488,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