You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/14 08:41:06 UTC
[jira] [Resolved] (WICKET-4406) ApplicationListenerCollection
onBeforeDestroyed calls onAfterInitialized for each of the listeners
[ https://issues.apache.org/jira/browse/WICKET-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier resolved WICKET-4406.
--------------------------------
Resolution: Fixed
Fix Version/s: 6.0.0
1.5.5
Assignee: Sven Meier
Fixed.
> 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
> Assignee: Sven Meier
> Priority: Trivial
> Fix For: 1.5.5, 6.0.0
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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