jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1304382 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java
Date Fri, 23 Mar 2012 14:46:13 GMT
Author: alexparvulescu
Date: Fri Mar 23 14:46:13 2012
New Revision: 1304382

URL: http://svn.apache.org/viewvc?rev=1304382&view=rev
Log:
JCR-3270 Error instantiating lucene search index in Turkish Regional Setting

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java?rev=1304382&r1=1304381&r2=1304382&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/config/BeanConfig.java
Fri Mar 23 14:46:13 2012
@@ -24,6 +24,7 @@ import java.lang.reflect.Modifier;
 import java.util.Collections;
 import java.util.Enumeration;
 import java.util.HashMap;
+import java.util.Locale;
 import java.util.Map;
 import java.util.Properties;
 
@@ -238,7 +239,7 @@ public class BeanConfig {
                     && Void.TYPE.equals(method.getReturnType())
                     && method.getParameterTypes().length == 1) {
                 methods.put(
-                        name.substring(3, 4).toLowerCase() + name.substring(4),
+                        name.substring(3, 4).toLowerCase(Locale.ENGLISH) + name.substring(4),
                         method);
             }
         }



Mime
View raw message