[ 
https://issues.apache.org/jira/browse/CONFIGURATION-645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17632032#comment-17632032
 ] 

ChenYuwang commented on CONFIGURATION-645:
------------------------------------------

I have the same problem, hope someone solve it

> INIConfiguration: comment lines are removed after saving changes
> ----------------------------------------------------------------
>
>                 Key: CONFIGURATION-645
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-645
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: javix
>            Priority: Major
>
> I have a very large ini file with multiple sections. I added some comment 
> lines to my sections.
> Before closing my app some values will be changed. But afterwards the changed 
> file does not contains my comments.
> Here is a example:
> {noformat}
> [SECTION]
> ;comment for this section
> lastTimeStamp=(here some date)
> {noformat}
> After saving the file contains following content:
> {noformat}
> [SECTION]
> lastTimeStamp=(here some date)
> {noformat}
> I think it is a bug, because the comments are allowed and very useful content 
> of a ini file and should not be removed.
> (sorry for my not perfect english)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to