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/02/14 21:43:12 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13578655#comment-13578655 ] 

Oliver Heger commented on CONFIGURATION-525:
--------------------------------------------

Thanks for the report.

The current implementation assigns a comment to the following property. This explains why a comment at the bottom of the file gets lost. We will have to think about a workaround.
                
> 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
>            Priority: Minor
>              Labels: patch
>   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