commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37667] - [configuration] BaseConfiguration.addProperty() and MapConfiguration.addProperty() do not behave the same
Date Tue, 29 Nov 2005 12:39:47 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37667>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37667


oliver.heger@t-online.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
            Summary|BaseConfiguration.addPropert|[configuration]
                   |y() and                     |BaseConfiguration.addPropert
                   |MapConfiguration.addProperty|y() and
                   |() do not behave the same   |MapConfiguration.addProperty
                   |                            |() do not behave the same




------- Additional Comments From oliver.heger@t-online.de  2005-11-29 13:39 -------
Looking at the source of MapConfiguration properties with multiple values seem
to be treated correctly.

To be sure I ran the following test case:

    public void testAddProperty()
    {
        Configuration config = new MapConfiguration(new HashMap());
        config.addProperty("key", "value1");
        config.addProperty("key", "value2");
        assertEquals("Property has only a single value", 2,
config.getList("key").size());
    }

This works for me. So, could you please double check? Or didn't I understand
your problem correctly?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message