kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaofeng...@apache.org
Subject [05/50] [abbrv] kylin git commit: KYLIN-1817 code reformat
Date Mon, 25 Jul 2016 12:12:37 GMT
KYLIN-1817 code reformat


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/ff1aec30
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/ff1aec30
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/ff1aec30

Branch: refs/heads/1.5.x-HBase1.x
Commit: ff1aec306b5ab1dbdc12accc3e5ca6bd0099778c
Parents: 5607106
Author: Li Yang <liyang@apache.org>
Authored: Tue Jul 5 16:50:49 2016 +0800
Committer: Li Yang <liyang@apache.org>
Committed: Tue Jul 5 16:50:49 2016 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/kylin/jdbc/KylinPreparedStatement.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/ff1aec30/jdbc/src/main/java/org/apache/kylin/jdbc/KylinPreparedStatement.java
----------------------------------------------------------------------
diff --git a/jdbc/src/main/java/org/apache/kylin/jdbc/KylinPreparedStatement.java b/jdbc/src/main/java/org/apache/kylin/jdbc/KylinPreparedStatement.java
index 167894c..510243b 100644
--- a/jdbc/src/main/java/org/apache/kylin/jdbc/KylinPreparedStatement.java
+++ b/jdbc/src/main/java/org/apache/kylin/jdbc/KylinPreparedStatement.java
@@ -25,7 +25,6 @@ import java.sql.RowId;
 import java.sql.SQLException;
 import java.sql.SQLXML;
 import java.util.ArrayList;
-import java.util.Arrays;
 import java.util.List;
 
 import org.apache.calcite.avatica.AvaticaConnection;
@@ -45,7 +44,7 @@ public class KylinPreparedStatement extends AvaticaPreparedStatement {
     protected List<Object> getParameterJDBCValues() {
         List<TypedValue> typeValues = getParameterValues();
         List<Object> jdbcValues = new ArrayList<Object>(typeValues.size());
-        for(TypedValue typeValue: typeValues){
+        for (TypedValue typeValue : typeValues) {
             jdbcValues.add(typeValue.toJdbc(getCalendar()));
         }
         return jdbcValues;


Mime
View raw message