activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akos <akos.ba...@p92.hu>
Subject Re: Locale dependent reflection methods.
Date Tue, 16 Feb 2010 09:02:53 GMT

jira #: AMQ-2608


Gary Tully wrote:
> 
> thanks for the input. Can you raise an jira for this bug so it is not
> lost?
> 
> On 15 February 2010 13:35, akos <akos.baraz@p92.hu> wrote:
> 
>>
>> Hi,
>>
>> I've found a small bug in amq. The
>> org.apache.activemq.util.IntrospectionSupport.findSetterMethod uses
>> name.substring(0, 1).toUpperCase(). What is local dependent. For example
>> in
>> turkish locale we won't get setter for 'initialReconnectDelay', because
>> the
>> uppercase of 'i' is not 'I'.
>>
>> I would suggest using Character.toUpperCase(name.charAt(0)) what is local
>> independent.
>>
>> Thanks,
>> akos
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Locale-dependent-reflection-methods.-tp27593878p27593878.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> http://blog.garytully.com
> 
> Open Source Integration
> http://fusesource.com
> 
> 

-- 
View this message in context: http://old.nabble.com/Locale-dependent-reflection-methods.-tp27593878p27605273.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message