This is an automated email from the ASF dual-hosted git repository. papegaaij pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/master by this push: new 4d43eb5 Guarantee order of listener notifications 4d43eb5 is described below commit 4d43eb563733c921e6256278458f0071e0a52061 Author: Emond Papegaaij <emond.papega...@topicus.nl> AuthorDate: Tue Mar 22 11:43:19 2022 +0100 Guarantee order of listener notifications --- .../main/java/org/apache/wicket/util/listener/ListenerCollection.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wicket-util/src/main/java/org/apache/wicket/util/listener/ListenerCollection.java b/wicket-util/src/main/java/org/apache/wicket/util/listener/ListenerCollection.java index 0d476bc..d774cdc 100644 --- a/wicket-util/src/main/java/org/apache/wicket/util/listener/ListenerCollection.java +++ b/wicket-util/src/main/java/org/apache/wicket/util/listener/ListenerCollection.java @@ -28,7 +28,8 @@ import org.slf4j.LoggerFactory; /** * Represents a collection of listeners. Facilitates invocation of events on each listener. * <p> - * NOTE: Ordering of listeners is not guaranteed and should not be relied upon + * Listeners will be invoked in the order added to the collection when using + * {@link #notify(INotifier)} or in reversed order when using {@link #reversedNotify(INotifier)}. * </p> * * @author ivaynberg (Igor Vaynberg)