Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-874

ToStringBuilder.appendSuper() should support parent class having different ToStringStyle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Patch Needed
    • lang.builder.*
    • None

    Description

      When using different ToStringStyles for base and child class, appendSuper does not work. This is due to prefix/suffix triming in ToStringStyle.appendToString which uses current style separators to trim and does not append if none is found. I think it should append raw string rather than nothing if separators are not found.

      Attachments

        Activity

          People

            Unassigned Unassigned
            beuss Sébastien Le Ray
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: