You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Patrick Schmidt (JIRA)" <ji...@apache.org> on 2018/09/19 15:38:00 UTC
[jira] [Created] (CONFIGURATION-715) PropertiesConfiguration should
not trim whitespace from the property value
Patrick Schmidt created CONFIGURATION-715:
---------------------------------------------
Summary: 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
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)