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

Make StringResourceStream non final

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.7
    • 1.4.8
    • wicket
    • None

    Description

      org.apache.wicket.util.resource.StringResourceStream is marked as final while org.apache.wicket.util.resource.StringBufferResourceStream (which mimics StringResourceStream, but relies on String Buffer rather than String) is not. I stumbled upon the problem of not being able to override StringResourceStream.toString() which outputs the whole resource. This is particularly annoying while using RequestLogger which invokes toString() on components while logging events.

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            drzewo Dominik Drzewiecki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: