You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/10/19 20:08:45 UTC
[jira] [Commented] (LANG-874) appendSuper is broken if different
ToStringStyle are used
[ https://issues.apache.org/jira/browse/LANG-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13799961#comment-13799961 ]
Thomas Neidhart commented on LANG-874:
--------------------------------------
Changes type to Improvement as the current behavior is documented in javadoc.
> 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: Improvement
> 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 was sent by Atlassian JIRA
(v6.1#6144)