cleanup: use bulk operation instead of iteration
This commit is contained in:
@@ -944,9 +944,7 @@ public class EventInstanceManager {
|
||||
|
||||
wL.lock();
|
||||
try {
|
||||
for(Integer item: exclusive) {
|
||||
exclusiveItems.add(item);
|
||||
}
|
||||
exclusiveItems.addAll(exclusive);
|
||||
} finally {
|
||||
wL.unlock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user