kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liy...@apache.org
Subject [49/50] [abbrv] incubator-kylin git commit: minor, fix CliCommandExecutor to return command output
Date Fri, 10 Jul 2015 23:27:35 GMT
minor, fix CliCommandExecutor to return command output


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

Branch: refs/heads/0.7
Commit: 73621543e320707c76c077057d0521a11b16d308
Parents: 44c09a2
Author: Li, Yang <yangli9@ebay.com>
Authored: Wed Jul 8 13:37:18 2015 +0800
Committer: Li, Yang <yangli9@ebay.com>
Committed: Wed Jul 8 13:37:18 2015 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/kylin/common/util/CliCommandExecutor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/73621543/common/src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java b/common/src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java
index 20bcba5..336b206 100644
--- a/common/src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java
+++ b/common/src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java
@@ -131,7 +131,7 @@ public class CliCommandExecutor {
         String line;
         StringBuilder result = new StringBuilder();
         while ((line = reader.readLine()) != null) {
-            result.append("line").append('\n');
+            result.append(line).append('\n');
             if (logAppender != null) {
                 logAppender.log(line);
             }


Mime
View raw message