commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONFIGURATION-715) PropertiesConfiguration should not trim whitespace from the property value
Date Sun, 30 Sep 2018 19:58:00 GMT

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

Oliver Heger commented on CONFIGURATION-715:
--------------------------------------------

Many thanks! I will have a look (probably in a few days).

> PropertiesConfiguration should not trim whitespace from the property value
> --------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-715
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-715
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Patrick Schmidt
>            Priority: Major
>
> Currently, PropertiesConfiguration will trim all trailing whitespace from property values.
This is different from how java.util.Properties behaves. The Javadoc explicitly states
> {code:java}
> All remaining characters on the line become part of the associated element string{code}
> The responsible code is in the method _readProperty()_ of _PropertiesReader_.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message