You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ja...@apache.org on 2016/10/26 10:30:18 UTC

[1/2] incubator-carbondata git commit: Removed the unused value inside the method

Repository: incubator-carbondata
Updated Branches:
  refs/heads/master bb718a094 -> 8d3e1412a


Removed the unused value inside the method


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

Branch: refs/heads/master
Commit: ecfdc91d6990258c2f6d9ede4f023e1a16687a6e
Parents: bb718a0
Author: Knoldus <sh...@gmail.com>
Authored: Wed Oct 26 13:31:35 2016 +0530
Committer: jackylk <ja...@huawei.com>
Committed: Wed Oct 26 18:29:06 2016 +0800

----------------------------------------------------------------------
 .../carbondata/core/datastorage/store/impl/FileFactory.java      | 4 ++--
 .../main/java/org/apache/carbondata/core/util/CarbonUtil.java    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/ecfdc91d/core/src/main/java/org/apache/carbondata/core/datastorage/store/impl/FileFactory.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/carbondata/core/datastorage/store/impl/FileFactory.java b/core/src/main/java/org/apache/carbondata/core/datastorage/store/impl/FileFactory.java
index 07e0b90..684fe21 100644
--- a/core/src/main/java/org/apache/carbondata/core/datastorage/store/impl/FileFactory.java
+++ b/core/src/main/java/org/apache/carbondata/core/datastorage/store/impl/FileFactory.java
@@ -53,7 +53,7 @@ public final class FileFactory {
   private static FileType storeDefaultFileType = FileType.LOCAL;
 
   static {
-    String property = CarbonUtil.getCarbonStorePath(null, null);
+    String property = CarbonUtil.getCarbonStorePath();
     if (property != null) {
       if (property.startsWith(CarbonUtil.HDFS_PREFIX)) {
         storeDefaultFileType = FileType.HDFS;
@@ -87,7 +87,7 @@ public final class FileFactory {
   }
 
   public static FileType getFileType() {
-    String property = CarbonUtil.getCarbonStorePath(null, null);
+    String property = CarbonUtil.getCarbonStorePath();
     if (property != null) {
       if (property.startsWith(CarbonUtil.HDFS_PREFIX)) {
         storeDefaultFileType = FileType.HDFS;

http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/ecfdc91d/core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java b/core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java
index 5168208..8aceecd 100644
--- a/core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java
+++ b/core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java
@@ -823,7 +823,7 @@ public final class CarbonUtil {
     }
   }
 
-  public static String getCarbonStorePath(String databaseName, String tableName) {
+  public static String getCarbonStorePath() {
     CarbonProperties prop = CarbonProperties.getInstance();
     if (null == prop) {
       return null;


[2/2] incubator-carbondata git commit: [CARBONDATA-338] Removed the unused value inside the method This closes #258

Posted by ja...@apache.org.
[CARBONDATA-338] Removed the unused value inside the method This closes #258


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

Branch: refs/heads/master
Commit: 8d3e1412a5ae02e9087d10c7165e54403b901ca1
Parents: bb718a0 ecfdc91
Author: jackylk <ja...@huawei.com>
Authored: Wed Oct 26 18:29:53 2016 +0800
Committer: jackylk <ja...@huawei.com>
Committed: Wed Oct 26 18:29:53 2016 +0800

----------------------------------------------------------------------
 .../carbondata/core/datastorage/store/impl/FileFactory.java      | 4 ++--
 .../main/java/org/apache/carbondata/core/util/CarbonUtil.java    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------