commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: [configuration2]: AbstractConfiguration::getArray
Date Mon, 02 May 2016 17:53:40 GMT
Oliver Heger wrote:

> 
> 
> 
> Am 29.04.2016 um 20:36 schrieb Jörg Schaible:
>> chas@honton.org wrote:
>> 
>>> Jorge,
>>>
>>> You could create a different named method for each primitive array
>>> type.  Would be a pain to use in a generic fashion.
>> 
>> 
>> [snip]
>> 
>> I agree with a method returning explicitly an array, but that has been
>> nonsense in first place.
>> 
>> As I already pointed out, the existing
>> 
>>  <T> T get(Class<T> cls, String key);
>> 
>> would have been completely enough. See my examples from the last mail.
> 
> IIRC get() currently cannot handle arrays, but this should be easy to
> add. So could you please open a Jira ticket to track this?

Done: CONFIGURATION-626

Cheers,
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message