playerlistener cleanup

This commit is contained in:
Gabriele C
2016-05-29 16:34:03 +02:00
parent 64aacb12db
commit 52c0c7dd64
7 changed files with 13 additions and 42 deletions
@@ -388,7 +388,7 @@ public class OnJoinVerifierTest {
return player;
}
@SuppressWarnings("unchecked")
@SuppressWarnings({ "unchecked", "rawtypes" })
private void returnOnlineListFromBukkitServer(Collection<Player> onlineList) {
// Note ljacqu 20160529: The compiler gets lost in generics because Collection<? extends Player> is returned
// from getOnlinePlayers(). We need to uncheck onlineList to a simple Collection or it will refuse to compile.