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

Julius commented on CONFIGURATION-630:
--------------------------------------

Yes,this is only a formatting issue, the line break is lost on saving.

> multiple line issue
> -------------------
>
>                 Key: CONFIGURATION-630
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-630
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Julius
>            Priority: Minor
>
> source:
> SOLR_HEAP="512m"
> GC_TUNE="-XX:NewRatio=3 \
> -XX:SurvivorRatio=4"
> code:
>               FileBasedConfigurationBuilder<PropertiesConfiguration> builder =
>                           new 
> FileBasedConfigurationBuilder<PropertiesConfiguration>(PropertiesConfiguration.class)
>                           .configure(new 
> Parameters().properties().setFileName(fileName)
>                                       .setThrowExceptionOnMissing(true));
>                       PropertiesConfiguration config = 
> builder.getConfiguration();
>                       config.setProperty("SOLR_HEAP", "\"525m\"");
>                       builder.save();
> result:
> SOLR_HEAP="525m"
> GC_TUNE="-XX:NewRatio=3 -XX:SurvivorRatio=4"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to