kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhongj...@apache.org
Subject kylin git commit: minor, remove deprecated code
Date Sun, 03 Apr 2016 14:53:34 GMT
Repository: kylin
Updated Branches:
  refs/heads/master 30aa60d65 -> 32aab3b9d


minor, remove deprecated code


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

Branch: refs/heads/master
Commit: 32aab3b9dc9e6af56402014de570c5c288baab89
Parents: 30aa60d
Author: Jason <jiatuer@163.com>
Authored: Sun Apr 3 22:50:35 2016 +0800
Committer: Jason <jiatuer@163.com>
Committed: Sun Apr 3 22:50:35 2016 +0800

----------------------------------------------------------------------
 .../org/apache/kylin/rest/controller/ExternalFilterController.java | 2 +-
 .../main/java/org/apache/kylin/rest/service/ExtFilterService.java  | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/32aab3b9/server/src/main/java/org/apache/kylin/rest/controller/ExternalFilterController.java
----------------------------------------------------------------------
diff --git a/server/src/main/java/org/apache/kylin/rest/controller/ExternalFilterController.java
b/server/src/main/java/org/apache/kylin/rest/controller/ExternalFilterController.java
index 5801eb5..cc56059 100644
--- a/server/src/main/java/org/apache/kylin/rest/controller/ExternalFilterController.java
+++ b/server/src/main/java/org/apache/kylin/rest/controller/ExternalFilterController.java
@@ -77,7 +77,7 @@ public class ExternalFilterController extends BasicController {
 
     @RequestMapping(value = "/{filter}/{project}", method = { RequestMethod.DELETE })
     @ResponseBody
-    public Map<String, String> unLoadHiveTables(@PathVariable String filter, @PathVariable
String project) throws IOException {
+    public Map<String, String> removeFilter(@PathVariable String filter, @PathVariable
String project) throws IOException {
         Map<String, String> result = new HashMap<String, String>();
         extFilterService.removeExtFilterFromProject(filter, project);
         extFilterService.removeExternalFilter(filter);

http://git-wip-us.apache.org/repos/asf/kylin/blob/32aab3b9/server/src/main/java/org/apache/kylin/rest/service/ExtFilterService.java
----------------------------------------------------------------------
diff --git a/server/src/main/java/org/apache/kylin/rest/service/ExtFilterService.java b/server/src/main/java/org/apache/kylin/rest/service/ExtFilterService.java
index 6577a12..7e72d9a 100644
--- a/server/src/main/java/org/apache/kylin/rest/service/ExtFilterService.java
+++ b/server/src/main/java/org/apache/kylin/rest/service/ExtFilterService.java
@@ -19,9 +19,7 @@
 package org.apache.kylin.rest.service;
 
 
-import com.google.common.collect.Lists;
 import org.apache.kylin.metadata.model.ExternalFilterDesc;
-import org.apache.kylin.metadata.project.ProjectInstance;
 import org.apache.kylin.rest.constant.Constant;
 import org.apache.kylin.rest.exception.InternalErrorException;
 import org.slf4j.Logger;


Mime
View raw message