merge -c 910637 https://svn.apache.org/repos/asf/activemq/trunk - resolve Locale dependent toUpperCase in IntrospectionSupport. - AMQ-2608

git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-5.3@910945 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-02-17 12:18:55 +00:00
parent 29bed59c9a
commit 228e8a8f54
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ public final class IntrospectionSupport {
private static Method findSetterMethod(Class clazz, String name) {
// Build the method name.
name = "set" + name.substring(0, 1).toUpperCase() + name.substring(1);
name = "set" + Character.toUpperCase(name.charAt(0)) + name.substring(1);
Method[] methods = clazz.getMethods();
for (int i = 0; i < methods.length; i++) {
Method method = methods[i];