Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4406

ApplicationListenerCollection onBeforeDestroyed calls onAfterInitialized for each of the listeners

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.5.4
    • 1.5.5, 6.0.0-beta1
    • wicket
    • None
    • any

    Description

      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); }

      });
      }

      ?

      Attachments

        Activity

          People

            svenmeier Sven Meier
            reiern70 Ernesto Reinaldo Barreiro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified