return this.handlers.stream()
.filter(handler -> !(handler instanceof IController))
.collect(GuavaCollectors.toImmutableList());
}
}
<BUG>public List<IController> getControllerList(){
</BUG>
return this.handlers.stream()
.filter(handler -> handler instanceof IController)
<BUG>.map(handler -> ((IController)handler))
</BUG>
.collect(GuavaCollectors.toImmutableList());

return this.handlers.stream()
.filter(handler -> !(handler instanceof IController))
.collect(GuavaCollectors.toImmutableList());
}
}
public List<IController> getControllerList() {
return this.handlers.stream()
.filter(handler -> handler instanceof IController)
.map(handler -> ((IController) handler))
.collect(GuavaCollectors.toImmutableList());
