Handler Caching #37
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "f/handler-caching"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #20
@ -405,0 +435,4 @@
var it = binding.iterator();
while (it.hasNext()) {
var handler = it.next();
if (handler.getListener() == listener) {
Maybe add a comment on why
==
instead ofequals
.As we implicitly test using
equals
inregisterListener(...)
, I will change this as well.@ -67,0 +71,4 @@
@Test
void testBindingCache() {
String executionOrder = bus.debugExecutionOrder(SimpleEventSub.class);
System.out.println(executionOrder);
Why?