cleanup: remove unnecessary unboxing
This commit is contained in:
@@ -892,7 +892,7 @@ public class EventInstanceManager {
|
||||
|
||||
if (ServerConstants.JAVA_8) {
|
||||
for (Object d: list) {
|
||||
intList.add(((Integer) d).intValue());
|
||||
intList.add((Integer) d);
|
||||
}
|
||||
} else {
|
||||
for (Object d: list) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user