activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akos Baraz (JIRA)" <>
Subject [jira] Created: (AMQ-2608) Locale dependent toUpperCase in IntrospectionSupport.
Date Tue, 16 Feb 2010 09:02:40 GMT
Locale dependent toUpperCase in IntrospectionSupport.

                 Key: AMQ-2608
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.3.0
         Environment: java
            Reporter: Akos Baraz
            Priority: Trivial

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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message