activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akos <akos.ba...@p92.hu>
Subject Locale dependent reflection methods.
Date Mon, 15 Feb 2010 13:35:15 GMT

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.


Mime
View raw message