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=34103>. 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=34103 ------- Additional Comments From [EMAIL PROTECTED] 2005-03-21 19:25 ------- I'm not sure to understand your issue so I'll try to reformulate it, let me know if I'm wrong. Given a configuration containing a list property: List list = new ArrayList(); list.add("foo"); list.add("bar"); config.setProperty("key", list); Calling config.getString("key") should throw an exception instead of returning the first element, right ? This would happen when a "strict mode" similar to the throwExceptionOnMissing flag is enabled. When the strict mode is disabled, you expect the getString() method to return a concatenation of the values in the list, that's "foo,bar". But what happens if the property is a list of Integers and the strict mode is disabled ? List list = new ArrayList(); list.add(new Integer(1)); list.add(new Integer(2)); config.setProperty("key", list); The values can't be concatenated in this case, so what is the result of getInt("key") ? -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]