You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2013/03/16 18:56:13 UTC

[jira] [Resolved] (CONFIGURATION-525) PropertiesConfigurationLayout does not preserve comments at bottom of a file

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

Oliver Heger resolved CONFIGURATION-525.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

Fixed in revision 1457278.

{{PropertiesConfiguration}} now reads a comment at the end of a configuration file and makes it available through the new {{getFooter()}} method. With {{setFooter()}} the end comment can be changed.
                
> PropertiesConfigurationLayout does not preserve comments at bottom of a file
> ----------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-525
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-525
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Format
>    Affects Versions: 1.9
>            Reporter: Mengyu Zhang
>            Assignee: Oliver Heger
>            Priority: Minor
>              Labels: patch
>             Fix For: 2.0
>
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> Example:
> helloWorld.properties
> hello = world
> #this comments would not be preserved

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