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 12:53:27 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 14:53 -------
My concern about interpolating in resolveContainerStore is that it will be only
useful for scalar getters (getInt(), getFloat()...) and not for list and array
getters, especially in DataConfiguration, which use getProperty(). That would
look a bit odd to call PropertyConverter.toInteger(value) in getInteger() and
PropertyConverter.toInteger(interpolate(value)) in getIntegerList(). One might
think by comparing the two methods that getInteger() doesn't not perform the
interpolation.

I agree that resolveContainerStore() is definitely not an explicit name. Its
logic could be moved in PropertyConverter as a toScalar(Object) or a
getHead(Object) method. Then we could remove resolveContainerStore() and call
directly the new method in PropertyConverter.


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