Document Latest Features in README #27
No reviewers
Labels
No Label
1
13
2
21
3
34
5
55
8
bug
core
could have
duplicate
enhancement
help wanted
must have
proc
question
should have
wont have
L
M
S
XL
bug
bugfix
discussion
documentation
feature
maintenance
postponed
refactoring
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: zdm/event-bus#27
Loading…
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)
todebugExecutionOrder
for 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:
```java
opens my.module to dev.kske.eventbus.core;
opens
works 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 @@
```java
requires dev.kske.eventbus.core;
System.out.println(EventBus.getInstance().printExecutionOrder(SimpleEvent.class));
Something looks strange here:
a) if
printXY
prints directly, thesyso
part is unneeded.b) if
printXY
only 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
?