You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2015/01/31 13:02:06 UTC

[39/50] incubator-kylin git commit: clean up warning in common module

clean up warning in common module


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

Branch: refs/heads/inverted-index
Commit: 40eae8780a550be28b8f8969aef406a270cbad4b
Parents: 9e0e8fb
Author: Li, Yang <ya...@ebay.com>
Authored: Thu Jan 29 17:30:14 2015 +0800
Committer: Li, Yang <ya...@ebay.com>
Committed: Thu Jan 29 17:30:14 2015 +0800

----------------------------------------------------------------------
 .../kylinolap/common/restclient/RestClient.java |  1 -
 .../com/kylinolap/common/util/RangeSetTest.java | 31 --------------------
 2 files changed, 32 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/40eae878/common/src/main/java/com/kylinolap/common/restclient/RestClient.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/com/kylinolap/common/restclient/RestClient.java b/common/src/main/java/com/kylinolap/common/restclient/RestClient.java
index cb24f68..5f1367f 100644
--- a/common/src/main/java/com/kylinolap/common/restclient/RestClient.java
+++ b/common/src/main/java/com/kylinolap/common/restclient/RestClient.java
@@ -17,7 +17,6 @@
 package com.kylinolap.common.restclient;
 
 import java.io.IOException;
-import java.net.URLEncoder;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/40eae878/common/src/test/java/com/kylinolap/common/util/RangeSetTest.java
----------------------------------------------------------------------
diff --git a/common/src/test/java/com/kylinolap/common/util/RangeSetTest.java b/common/src/test/java/com/kylinolap/common/util/RangeSetTest.java
deleted file mode 100644
index 39668a0..0000000
--- a/common/src/test/java/com/kylinolap/common/util/RangeSetTest.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.kylinolap.common.util;
-
-import com.google.common.collect.*;
-import org.junit.Test;
-
-import java.io.IOException;
-
-/**
- * Created by Hongbin Ma(Binmahone) on 1/13/15.
- */
-public class RangeSetTest {
-//    @Test
-//    public void test1() throws IOException, InterruptedException {
-//        RangeSet<Integer> rangeSet = TreeRangeSet.create();
-//        Range a = Range.closedOpen(1, 2);
-//        Range b = Range.closedOpen(2, 3);
-//        Range newa = a.canonical(DiscreteDomain.integers());
-//        Range newb = b.canonical(DiscreteDomain.integers());
-//        rangeSet.add(newa);
-//        rangeSet.add(newb);
-//        System.out.println(rangeSet);
-//
-//        for (Range r : rangeSet.asRanges()) {
-//            ContiguousSet<Integer> s = ContiguousSet.create(r, DiscreteDomain.integers());
-//            for (Integer x : s) {
-//                System.out.println(x);
-//            }
-//        }
-//
-//    }
-}