Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2603

Improve @InjectContainer Javadoc

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 5.0.14
    • 5.0.15
    • tapestry-core
    • None

    Description

      The Javadoc for @InjectContainer could be more clear wrt. what is injected.

      Instead of:

      "Used in inject the container of a component as a field of the component. The container of a mixin is the component to which the mixin is attached."

      It should be:

      "Injects the component which contains this component, or null for the root component. For mixins, this injects the componet to which the mixin is attached."

      Taken from ComponentResources#getContainer.

      Attachments

        1. TAPESTRY-2603_r687061.patch
          0.8 kB
          Filip S. Adamsen

        Activity

          People

            hlship Howard Lewis Ship
            fsa Filip S. Adamsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: