mirror of https://github.com/apache/activemq.git
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:
parent
29bed59c9a
commit
228e8a8f54
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue