Commons Lang
  1. Commons Lang
  2. LANG-35

[Lang] Should ToStringBuilder.reflectionToString handle arrays?

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      Right now, when you pass an array (a String[] for example), the
      ToStringBuilder.reflectionToString does not display the individual elements.
      Should it?

        Activity

        Hide
        ggregory@seagullsw.com added a comment -

        Created an attachment (id=5317)
        Patch for ToStringBuilder.java version 1.14

        Show
        ggregory@seagullsw.com added a comment - Created an attachment (id=5317) Patch for ToStringBuilder.java version 1.14
        Hide
        ggregory@seagullsw.com added a comment -

        Created an attachment (id=5318)
        Patch for ToStringBuilderTest.java version 1.4

        Show
        ggregory@seagullsw.com added a comment - Created an attachment (id=5318) Patch for ToStringBuilderTest.java version 1.4
        Hide
        ggregory@seagullsw.com added a comment -

        These patches add support for arrays to ToStringBuilder.reflectionToString().

        Show
        ggregory@seagullsw.com added a comment - These patches add support for arrays to ToStringBuilder.reflectionToString().
        Hide
        ggregory@seagullsw.com added a comment -

        Applied patches.

        Show
        ggregory@seagullsw.com added a comment - Applied patches.

          People

          • Assignee:
            Unassigned
            Reporter:
            Gary Gregory
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development