Tapestry
  1. Tapestry
  2. TAPESTRY-739

Change return type to inteface for: ListenerMapSource.createListenerMethodInvoker()

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Framework
    • Labels:
      None

      Description

      Code from ListenerMapSource class:

      ------------------------------------------------------------------
      /**

      • This implementation returns a new
      • {@link org.apache.tapestry.listener.ListenerMethodInvokerImpl}

        . Subclasses can override to

      • provide their own implementation.
        */

      protected ListenerMethodInvokerImpl createListenerMethodInvoker(String name, Method[] methods)

      { return new ListenerMethodInvokerImpl(name, methods); }

      ------------------------------------------------------------------

      Change return type to interface instead of concrete ListenerMethodInvokerImpl please.
      Thank you/

        Activity

        Hide
        Alexander Kundirenko added a comment -

        Sorry, I meant class:
        org.apache.tapestry.listener.ListenerMapSourceImpl

        Show
        Alexander Kundirenko added a comment - Sorry, I meant class: org.apache.tapestry.listener.ListenerMapSourceImpl

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Alexander Kundirenko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development