This is an automated email from the ASF dual-hosted git repository.

drazzib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/gora.git


The following commit(s) were added to refs/heads/master by this push:
     new 283fa0aa GORA-651: Add Locale on toUpperCase call
283fa0aa is described below

commit 283fa0aad6bec049977a543bec45a19ba41a84c3
Author: Damien Raude-Morvan <draz...@apache.org>
AuthorDate: Sun Aug 13 22:12:11 2023 +0200

    GORA-651: Add Locale on toUpperCase call
    
    Update OrientDBStore.java to use Locale.ENGLISH on toUpperCase call
    
    See https://github.com/apache/gora/pull/210/files#r632680001
---
 .../src/main/java/org/apache/gora/orientdb/store/OrientDBStore.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/gora-orientdb/src/main/java/org/apache/gora/orientdb/store/OrientDBStore.java 
b/gora-orientdb/src/main/java/org/apache/gora/orientdb/store/OrientDBStore.java
index eee387fd..1b76b27b 100644
--- 
a/gora-orientdb/src/main/java/org/apache/gora/orientdb/store/OrientDBStore.java
+++ 
b/gora-orientdb/src/main/java/org/apache/gora/orientdb/store/OrientDBStore.java
@@ -113,7 +113,7 @@ public class OrientDBStore<K, T extends PersistentBase> 
extends DataStoreBase<K,
               orientDbStoreParams.getUserPassword(), 
OrientDBConfig.defaultConfig());
       if (!remoteServerAdmin.exists(orientDbStoreParams.getDatabaseName())) {
         remoteServerAdmin.create(orientDbStoreParams.getDatabaseName(),
-                
ODatabaseType.valueOf(orientDbStoreParams.getStorageType().toUpperCase()));
+                
ODatabaseType.valueOf(orientDbStoreParams.getStorageType().toUpperCase(Locale.ENGLISH)));
       }
 
       if (orientDbStoreParams.getConnectionPoolMinSize() != null &&

Reply via email to