Skip to content

Commit 4c67107

Browse files
committed
Guarantee order of listener notifications
1 parent 9548caa commit 4c67107

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

wicket-util/src/main/java/org/apache/wicket/util/listener/ListenerCollection.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
/**
2929
* Represents a collection of listeners. Facilitates invocation of events on each listener.
3030
* <p>
31-
* NOTE: Ordering of listeners is not guaranteed and should not be relied upon
31+
* Listeners will be invoked in the order added to the collection when using
32+
* {@link #notify(INotifier)} or in reversed order when using {@link #reversedNotify(INotifier)}.
3233
* </p>
3334
*
3435
* @author ivaynberg (Igor Vaynberg)

0 commit comments

Comments
 (0)