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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1f36967  KYLIN-2972 minor fix
1f36967 is described below

commit 1f369678c78c80c7a4cb1fb2a3e5902cb6171126
Author: kyotoYaho <nju_y...@apache.org>
AuthorDate: Mon Jan 7 10:50:11 2019 +0800

    KYLIN-2972 minor fix
---
 .../src/main/java/org/apache/kylin/rest/request/SQLRequest.java        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/server-base/src/main/java/org/apache/kylin/rest/request/SQLRequest.java 
b/server-base/src/main/java/org/apache/kylin/rest/request/SQLRequest.java
index 2672a19..f96f0da 100644
--- a/server-base/src/main/java/org/apache/kylin/rest/request/SQLRequest.java
+++ b/server-base/src/main/java/org/apache/kylin/rest/request/SQLRequest.java
@@ -19,6 +19,7 @@
 package org.apache.kylin.rest.request;
 
 import java.io.Serializable;
+import java.util.Locale;
 import java.util.Map;
 
 import com.google.common.collect.Lists;
@@ -149,6 +150,6 @@ public class SQLRequest implements Serializable {
     }
 
     private String getNormProject() {
-        return project == null ? null : project.toUpperCase();
+        return project == null ? null : project.toUpperCase(Locale.ROOT);
     }
 }

Reply via email to