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

discrepancy between JavaDoc and code in MarkupContainer#visitChildren()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.5
    • 1.5.7, 6.0.0-beta2
    • wicket
    • None

    Description

      The JavaDoc for MarkupContainer#visitChildren() states that
      "@param clazz The class of child to visit, or null to visit all children"

      The parameter clazz is used to create a new ClassVisitFilter which in
      its visitObject() does not check for clazz == null, leading to a NPE.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            bertra Bert Radke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: