[jira] [Commented] (COLLECTIONS-438) ExtendedProperties : String only composed of spaces character

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (COLLECTIONS-438) ExtendedProperties : String only composed of spaces character

ASF GitHub Bot (Jira)

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

Thomas Neidhart commented on COLLECTIONS-438:
---------------------------------------------

The ExtendedProperties behaves in the same way as the java.util.Properties class. Values are trimmed on both sides, thus in your test case the two keys are both associated with an empty String as expected.

I do not see a problem with this.
               

> ExtendedProperties : String only composed of spaces character
> -------------------------------------------------------------
>
>                 Key: COLLECTIONS-438
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-438
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Collection
>            Reporter: Guillaume Chauvet
>         Attachments: COLLECTIONS-438.patch
>
>
> We have discovered a bug in ExtendedProperties class used in our internal language manager framework. The cause are strings which contains only spaces character. We provide a patch to complete the JUnit class ExtendedPropertiesTest.

--
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