Permalink
Browse files

Remove more unused stuff

  • Loading branch information...
1 parent d0514f1 commit af6d2e0b73d2b0c99c40c6430104d4f6a427fc9b @dmlloyd dmlloyd committed Jun 9, 2011
Showing with 10 additions and 12 deletions.
  1. +0 −7 pom.xml
  2. +10 −5 src/test/java/org/jboss/test/vfs/URLConnectionUnitTestCase.java
View
@@ -52,7 +52,6 @@
</organization>
<properties>
- <version.jboss.common.core>2.2.17.GA</version.jboss.common.core>
<version.jboss.logging>3.0.0.CR1</version.jboss.logging>
<version.jboss.test>1.1.5.GA</version.jboss.test>
<version.junit>4.4</version.junit>
@@ -96,12 +95,6 @@
<scope>compile</scope>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-common-core</artifactId>
- <version>${version.jboss.common.core}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>org.jboss.test</groupId>
<artifactId>jboss-test</artifactId>
<version>${version.jboss.test}</version>
@@ -21,21 +21,22 @@
*/
package org.jboss.test.vfs;
-import java.io.*;
+import java.io.ByteArrayOutputStream;
+import java.io.Closeable;
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
-import java.util.ArrayList;
import java.util.Arrays;
-import java.util.List;
import java.util.concurrent.Executors;
-
import junit.framework.Test;
-
import org.jboss.vfs.TempFileProvider;
import org.jboss.vfs.VFS;
import org.jboss.vfs.VFSUtils;
import org.jboss.vfs.VirtualFile;
import org.jboss.vfs.protocol.FileURLConnection;
+import org.jboss.vfs.protocol.VfsUrlStreamHandlerFactory;
/**
* Basic tests of URL connection
@@ -44,6 +45,10 @@
*/
public class URLConnectionUnitTestCase extends AbstractVFSTest
{
+ static {
+ URL.setURLStreamHandlerFactory(new VfsUrlStreamHandlerFactory());
+ }
+
public URLConnectionUnitTestCase(String name)
{
super(name);

0 comments on commit af6d2e0

Please sign in to comment.