Wow, that was quick! Thanks for the fix.

Should the case-sensitive variant be modified to call this method? All
case-sensitive methods except getValuesArray are implemented that way.

Arjohn

Thierry Boileau wrote:
> Hello Arjohn,
> 
> thanks for your report, the fix is now available in the svn repository.
> 
> Best regards,
> Thierry Boileau
> 
>> Hi Jerome,
>>
>> I've finally been able to test this new method. Unfortunately, it's
>> implementation is broken. Calling Series.getValuesArray(String name,
>> boolean ignoreCase) results in a ClassCastException. Looking into the
>> code, it looks like this method is casting a array of type E (e.g.
>> Parameter) to an array of String's.
>>
>> Arjohn
>>
>>
>> Jerome Louvel wrote:
>>   
>>> Hi Arjohn,
>>>
>>> Good point, I've just added such method in SVN trunk!
>>>
>>> Best regards,
>>> Jerome Louvel
>>> --
>>> Restlet ~ Founder and Lead developer ~ http://www.restlet.org
>>> Noelios Technologies ~ Co-founder ~ http://www.noelios.com
>>>
>>>
>>>
>>> -----Message d'origine-----
>>> De : Arjohn Kampman [mailto:[email protected]] 
>>> Envoyé : lundi 4 mai 2009 15:41
>>> À : [email protected]
>>> Objet : Case-insensitive version of Series.getValuesArray(...)
>>>
>>> Hi all,
>>>
>>> I've just started working with the restlet framework, so please excuse me if
>>> I'm overlooking something. In Restlet 1.1.4 the Series class offers various
>>> utility methods for getting parameter values, often with a variant allowing
>>> you to control the case-sensitivity. This variant is missing for
>>> getValuesArray(), however, which is what I'd like to use. Can this method be
>>> added?
>>>
>>> Regards,
>>>
>>> Arjohn Kampman
>>>
>>> ------------------------------------------------------
>>> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=20565
>>> 27
>>>
>>> ------------------------------------------------------
>>> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2261414
>>>     
>>
>>
> 
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2420017


-- 
Arjohn Kampman, Senior Software Engineer
Aduna - Semantic Power
www.aduna-software.com

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2420021

Reply via email to