cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Removing the temp test code
Date Tue, 16 Jun 2015 09:03:45 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 5d436c40e -> 86e1312f7


Removing the temp test code


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

Branch: refs/heads/master
Commit: 86e1312f71564bcf753a0f6236994d78527681b7
Parents: 5d436c4
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Tue Jun 16 10:03:30 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Tue Jun 16 10:03:30 2015 +0100

----------------------------------------------------------------------
 .../org/apache/cxf/jaxrs/utils/HttpUtilsTest.java   | 16 ----------------
 1 file changed, 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/86e1312f/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/HttpUtilsTest.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/HttpUtilsTest.java
b/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/HttpUtilsTest.java
index 07bcf67..601765d 100644
--- a/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/HttpUtilsTest.java
+++ b/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/HttpUtilsTest.java
@@ -40,22 +40,6 @@ import org.junit.Test;
 public class HttpUtilsTest extends Assert {
 
     @Test
-    public void testResolveJarUrl() throws Exception {
-        String str = "jar:file:/home/sberyozkin/.m2/repository/org/apache/cxf/cxf-rt-transports-http/3.1.2-SNAPSHOT/cxf-rt-transports-http-3.1.2-SNAPSHOT.jar!/schemas/configuration/http-conf.xsd";
-        URI uri = URI.create(str); 
-        String systemIdUri = "common.xsd";
-        if ("jar".equals(uri.toURL().getProtocol())) {
-            int jarFragmentIndex = str.lastIndexOf('!');
-            if (jarFragmentIndex > 0 && jarFragmentIndex < str.length() - 1)
{
-                String jarUri = str.substring(0, jarFragmentIndex);
-                String oldFragment = str.substring(jarFragmentIndex + 1);
-                String newFragment = URI.create(oldFragment).resolve(systemIdUri).toString();
-                System.out.println(jarUri + "!" + newFragment);
-            }
-        }
-    }
-    
-    @Test
     public void testUrlDecode() {
         assertEquals("+ ", HttpUtils.urlDecode("%2B+"));
     }


Mime
View raw message