[Minor] Code cleanup
This commit is contained in:
parent
a0b24f74a5
commit
006508ff2e
|
@ -199,12 +199,8 @@ public class EventBasedExecutionHandler extends ExecutionHandler {
|
||||||
|
|
||||||
synchronized (this.controllers) {
|
synchronized (this.controllers) {
|
||||||
Map<Locator, Controller> controllers = this.controllers.getMap(realm);
|
Map<Locator, Controller> controllers = this.controllers.getMap(realm);
|
||||||
if (controllers != null) {
|
if (controllers != null)
|
||||||
for (Controller controller : controllers.values()) {
|
controllers.values().forEach(this::toExecution);
|
||||||
// execute async
|
|
||||||
toExecution(controller);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue