commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barrie Treloar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LANG-378) Add new ToStyle to support MultiLine with Indent
Date Wed, 08 Jun 2011 01:51:59 GMT

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

Barrie Treloar updated LANG-378:
--------------------------------

    Attachment: LANG-378-branch-3.0.patch.txt

A 3.0 branch patch attached.

Implementation (as previous patch but with these changes)
* ToStringStyle is no longer abstract.  This means that StandardToStringStyle no longer offers
anything of value and has been removed.
  Note: ToStringStyle has not had the changes available on LANG-2.2.X branch that moved the
object registry into reflection to string builder.
  Note: serialVersionUID looks like it has been generated, why isn't it just 1L since this
is the 3.0 branch?

Tests
* Updated tests
* ToStringStyleTest renamed to ToStringStyleDataBuilderTest
* StandardToStringStyleTest renamed to ToStringStyleTest

> Add new ToStyle to support MultiLine with Indent
> ------------------------------------------------
>
>                 Key: LANG-378
>                 URL: https://issues.apache.org/jira/browse/LANG-378
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.builder.*
>    Affects Versions: 2.3
>            Reporter: Barrie Treloar
>            Priority: Minor
>             Fix For: 3.x
>
>         Attachments: LANG-378-branch-3.0.patch.txt, LANG-378-patch.txt, LANG-378-patch.txt,
MultiLineWithIndentToStyle.zip
>
>
> Multiline support  places everything on a new line with no indentation to help in readability.
> Attached is a patch (with tests) to support Multiline behaviour with indentation.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message