activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Locale dependent reflection methods.
Date Mon, 15 Feb 2010 20:15:18 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message