Wicket
  1. Wicket
  2. WICKET-1080

StringResourceModel.toString() misbehavior

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-beta4
    • Fix Version/s: 1.3.0-rc1
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      any

      Description

      StringResourceModel.toString() doesn't behave like the API documentation states any more.

      It returns a lot of debug information instead of the the getString()-result as stated in the docs.

        Activity

        Hide
        Thomas Mäder added a comment -

        I agree the doc can use some clarification. As for the behaviour: I dont' believe toString() was ever intended to deliver user-presentable text. So my vote goes towards fixing the javadoc. toString() is typically used in debuggers, and I find the new format way more informative.

        Show
        Thomas Mäder added a comment - I agree the doc can use some clarification. As for the behaviour: I dont' believe toString() was ever intended to deliver user-presentable text. So my vote goes towards fixing the javadoc. toString() is typically used in debuggers, and I find the new format way more informative.
        Hide
        Johan Compagner added a comment -

        change the doc of the toString() method

        Show
        Johan Compagner added a comment - change the doc of the toString() method

          People

          • Assignee:
            Johan Compagner
            Reporter:
            Jan Kriesten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development