commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Colebourne <>
Subject Re: [lang] Time for RC3?
Date Wed, 06 Jul 2011 07:29:45 GMT
On 4 July 2011 23:13, Jörg Schaible <> wrote:
> Sorry, why is setValue more vague - isn't it the other way round?
As a method name, replace is explicit, set slightly less so. Either
work here, so if you want to change it go ahead.

More generally, I now think the index suffix scheme is wrong. It
should collect a list of data for the same key, because otherwise you
can't look up the data later (as the key has been silently changed
behind your back). API methods:

List<String> getValues(String key)
String getFirstValue(String key)

If its pluggable then an alternative implementation could not use a
list and only keep the first or last value. The default implementation
should keep all the values.


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

View raw message