commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: [configuration] Property Substitution Policy
Date Thu, 01 Sep 2005 13:53:59 GMT
Quoting Oliver Heger <>:
> ATM interpolation takes place only in getString() and for the single
> elements of an array returned by getStringArray(). In this context using
> only the first value of a multi-valued property IMO makes more sense
> than working with a String representation of a value list, which cannot
> be influenced (because simply toString() is called on this list).

This seems reasonable

> But I agree with you that the "correct behavior" certainly depends on
> personal view or a concrete use case. I made this fix to be included in
> the 1.2 release to be consistent with the behavior of other getter
> methods. For the future there is an enhancement request in Bugzilla to
> improve interpolation features
> ( This will
> also support custom interpolation strategies and will make it possible
> to change the way multi-valued properties are treated.
> Oliver

Excellent.  Being able to have full conrol over it rather than providing one
person's idea of the best behavior when it really depends on the situation, is
a great idea!  I look forward to seeing it :-)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message