ApplicationListenerCollection onBeforeDestroyed calls onAfterInitialized for
each of the listeners
--------------------------------------------------------------------------------------------------
Key: WICKET-4406
URL: https://issues.apache.org/jira/browse/WICKET-4406
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.5.4
Environment: any
Reporter: Ernesto Reinaldo Barreiro
Priority: Trivial
On class
public class ApplicationListenerCollection extends
ListenerCollection<IApplicationListener>
implements
IApplicationListener
{
....
public void onBeforeDestroyed(final Application application)
{
reversedNotifyIgnoringExceptions(new
INotifier<IApplicationListener>()
{
public void notify(IApplicationListener listener)
{
listener.****onAfterInitialized***(application);
}
});
}
}
shouldn't it be
public void onBeforeDestroyed(final Application application)
{
reversedNotifyIgnoringExceptions(new
INotifier<IApplicationListener>()
{
public void notify(IApplicationListener listener)
{
listener.****onBeforeDestroyed***(application);
}
});
}
?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira