Remove USE_PARAMETER #35

Merged
kske merged 4 commits from f/remove-use-parameter into develop 2022-01-13 14:40:14 +01:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 6ee4e11161 - Show all commits

View File

@ -35,6 +35,7 @@ class InheritanceTest extends SimpleEventListenerBase implements SimpleEventList
} }
@Event @Event
@Priority(250)
private void onSimpleEventPrivate(SimpleEvent event) { private void onSimpleEventPrivate(SimpleEvent event) {
assertSame(0, event.getCounter()); assertSame(0, event.getCounter());
event.increment(); event.increment();

View File

@ -16,8 +16,8 @@ abstract class SimpleEventListenerBase {
fail("This handler should not be invoked"); fail("This handler should not be invoked");
} }
@Priority(150)
@Event @Event
@Priority(150)
private void onSimpleEventPrivate(SimpleEvent event) { private void onSimpleEventPrivate(SimpleEvent event) {
assertSame(1, event.getCounter()); assertSame(1, event.getCounter());
event.increment(); event.increment();