cleanup: remove unnecessary unboxing

This commit is contained in:
P0nk
2021-04-07 23:52:58 +02:00
parent 6253169e35
commit ed5a444753
12 changed files with 62 additions and 164 deletions

View File

@@ -157,7 +157,7 @@ public class EventManager {
if (ServerConstants.JAVA_8) {
for (Object d: list) {
intList.add(((Integer) d).intValue());
intList.add((Integer) d);
}
} else {
for (Object d: list) {