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 36819] - [configuration] Interpolation with multivalued keys returns nested strings instead of flattend string and interpolate doesn't work with all getters
Date Tue, 27 Sep 2005 10:16:56 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=36819>.
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=36819





------- Additional Comments From ebourg@apache.org  2005-09-27 12:16 -------
I think Michael has a point regarding getInt("a") throwing an exception in this
example. We could fix this easily before revamping the interpolation system:

return PropertyConverter.toInteger(value);

turns into

return PropertyConverter.toInteger(value instanceof String ?
interpolate((String) value) : value);

for all getters in AbstractConfiguration and DataConfiguration.


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