You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/11/29 13:39:47 UTC
DO NOT REPLY [Bug 37667] -
[configuration] BaseConfiguration.addProperty() and MapConfiguration.addProperty() do not behave the same
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