commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duncan Jones (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LANG-874) ToStringBuilder.appendSuper() should support parent class having different ToStringStyle
Date Wed, 01 Oct 2014 07:51:34 GMT

     [ 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)

Mime
View raw message