Document Latest Features in README #27
Reference in New Issue
Block a user
No description provided.
Delete Branch "f/improved-readme"
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?
Additionally, rename
EventBus#printExecutionOrder(Class)todebugExecutionOrderfor clarity, as it doesn't actually print anything.@@ -57,0 +78,4 @@If you intend to use event handlers that are inaccessible to Event Bus by means of Java language access control, make sure to allow reflective access from your module:```javaopens my.module to dev.kske.eventbus.core;opensworks for modules as well?I thought it should have been
opens my.package to dev.kske.eventbus.core...This seems to be wrong actually. I will change it accordingly.
@@ -178,3 +205,3 @@```javarequires dev.kske.eventbus.core;System.out.println(EventBus.getInstance().printExecutionOrder(SimpleEvent.class));Something looks strange here:
a) if
printXYprints directly, thesysopart is unneeded.b) if
printXYonly returns the result, then the function should be renamed.The code itself is correct, but I agree that the name of the method can be misleading. What would you call a method that formats the execution order in a human-readable way as a string, but doesn't print it. Printing it to sysout directly seemed to specific to me, as some applications would prefer using a logger instead.
generateExecutionOrder?getDebugInformation?createExecutionOrderString?executionOrderAsString?getExecutionOrderAsString?