You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Duncan Jones (JIRA)" <ji...@apache.org> on 2014/10/01 09:51:34 UTC

[jira] [Updated] (LANG-874) ToStringBuilder.appendSuper() should support parent class having different ToStringStyle

     [ https://issues.apache.org/jira/browse/LANG-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Duncan Jones updated LANG-874:
------------------------------
    Summary: ToStringBuilder.appendSuper() should support parent class having different ToStringStyle  (was: appendSuper is broken if different ToStringStyle are used)

> ToStringBuilder.appendSuper() should support parent class having different ToStringStyle
> ----------------------------------------------------------------------------------------
>
>                 Key: LANG-874
>                 URL: https://issues.apache.org/jira/browse/LANG-874
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.builder.*
>            Reporter: Sébastien Le Ray
>             Fix For: Patch Needed
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)