You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sébastien Le Ray (JIRA)" <ji...@apache.org> on 2013/02/25 14:40:12 UTC

[jira] [Created] (LANG-874) appendSuper is broken if different ToStringStyle are used

Sébastien Le Ray created LANG-874:
-------------------------------------

             Summary: appendSuper is broken if different ToStringStyle are used
                 Key: LANG-874
                 URL: https://issues.apache.org/jira/browse/LANG-874
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.builder.*
            Reporter: Sébastien Le Ray


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira