Remove ~350 unsave casts

This commit is contained in:
Tom Elfring committed 2017-08-05 19:48:12 +02:00
1 parent f1a307ca51
commit 34e81bb65d
87 files changed
+168 -163

No files matched your search

@@ -48,7 +48,7 @@ public class VoiceConnection extends Thread
while(username == null && retryCount <= 100)
{
try {
List l = Collections.synchronizedList((List)((ArrayList)server.getPlayerList().getPlayers()).clone());
List l = Collections.synchronizedList(new ArrayList<>(server.getPlayerList().getPlayers()));
for(Object obj : l)
{