[jboss-cvs] JBossAS SVN: r90756 - in projects/vfs/branches/dml-zip-rework/src: main/java/org/jboss/virtual/plugins/context and 6 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Jul 1 22:21:38 EDT 2009
Author: david.lloyd at jboss.com
Date: 2009-07-01 22:21:38 -0400 (Wed, 01 Jul 2009)
New Revision: 90756
Added:
projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/VirtualFileURLConnection.java
projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/VirtualFileURLStreamHandler.java
projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/file/Handler.java
Removed:
projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/context/jar/
projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/vfs/VirtualFileURLConnection.java
projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/vfs/helpers/AbstractVirtualFileHandlerVisitor.java
projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/vfs/helpers/WrappingVirtualFileHandlerVisitor.java
projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/file/Handler.java
Modified:
projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/VFSInputSource.java
projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/support/ClassPathIterator.java
projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/support/InputStreamCallerChecker.java
projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/support/MockVirtualFileHandlerVisitor.java
projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/JARVirtualFileHandlerUnitTestCase.java
projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/SundryVFSUnitTestCase.java
projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/ZipEntryHandlerUnitTestCase.java
projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/ZipEntryVFSContextUnitTestCase.java
Log:
More reorg, fix the last main build errors
Modified: projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/VFSInputSource.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/VFSInputSource.java 2009-07-02 02:16:29 UTC (rev 90755)
+++ projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/VFSInputSource.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -50,7 +50,7 @@
{
try
{
- return file.toURI().toString();
+ return VFSUtils.getVirtualURI(file).toString();
}
catch (Exception e)
{
Deleted: projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/vfs/VirtualFileURLConnection.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/vfs/VirtualFileURLConnection.java 2009-07-02 02:16:29 UTC (rev 90755)
+++ projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/vfs/VirtualFileURLConnection.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -1,101 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.virtual.plugins.vfs;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.File;
-import java.io.FilePermission;
-import java.net.URL;
-import java.net.URLConnection;
-import java.security.Permission;
-
-import org.jboss.virtual.VFS;
-import org.jboss.virtual.VirtualFile;
-import sun.net.www.ParseUtil;
-
-/**
- * Implements basic URLConnection for a VirtualFile
- *
- * @author <a href="bill at jboss.com">Bill Burke</a>
- * @author <a href="ales.justin at jboss.com">Ales Justin</a>
- * @version $Revision: 1.1 $
- */
-public class VirtualFileURLConnection extends URLConnection
-{
- protected VirtualFile file;
-
- public VirtualFileURLConnection(URL url) throws IOException
- {
- super(url);
- file = VFS.getInstance().getChild(url.getPath());
- }
-
- public void connect() throws IOException
- {
- }
-
- public VirtualFile getContent() throws IOException
- {
- return file;
- }
-
- public int getContentLength()
- {
- try
- {
- final long size = file.getSize();
- return size > (long)Integer.MAX_VALUE ? -1 : (int)size;
- }
- catch (IOException e)
- {
- throw new RuntimeException(e);
- }
- }
-
- public long getLastModified()
- {
- try
- {
- return file.getLastModified();
- }
- catch (IOException e)
- {
- throw new RuntimeException(e);
- }
- }
-
- public InputStream getInputStream() throws IOException
- {
- return file.openStream();
- }
-
- public Permission getPermission() throws IOException {
- String decodedPath = ParseUtil.decode(url.getPath());
- if (File.separatorChar == '/') {
- return new FilePermission(decodedPath, "read");
- } else {
- return new FilePermission(
- decodedPath.replace('/',File.separatorChar), "read");
- }
- }
-}
Deleted: projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/vfs/helpers/AbstractVirtualFileHandlerVisitor.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/vfs/helpers/AbstractVirtualFileHandlerVisitor.java 2009-07-02 02:16:29 UTC (rev 90755)
+++ projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/vfs/helpers/AbstractVirtualFileHandlerVisitor.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -1,60 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.virtual.plugins.vfs.helpers;
-
-import org.jboss.virtual.VisitorAttributes;
-
-/**
- * AbstractVirtualFileVisitor.
- *
- * @author <a href="adrian at jboss.com">Adrian Brock</a>
- * @version $Revision: 1.1 $
- */
-public abstract class AbstractVirtualFileHandlerVisitor implements VirtualFileHandlerVisitor
-{
- private final VisitorAttributes attributes;
-
- /**
- * Create a new AbstractVirtualFileVisitor using the default visitor attributes
- */
- protected AbstractVirtualFileHandlerVisitor()
- {
- this(null);
- }
-
- /**
- * Create a new AbstractVirtualFileVisitor using the default visitor attributes
- *
- * @param attributes the attributes or @{Link {@link VisitorAttributes#DEFAULT} when null
- */
- protected AbstractVirtualFileHandlerVisitor(VisitorAttributes attributes)
- {
- if (attributes == null)
- attributes = VisitorAttributes.DEFAULT;
- this.attributes = attributes;
- }
-
- public VisitorAttributes getAttributes()
- {
- return attributes;
- }
-}
Deleted: projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/vfs/helpers/WrappingVirtualFileHandlerVisitor.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/vfs/helpers/WrappingVirtualFileHandlerVisitor.java 2009-07-02 02:16:29 UTC (rev 90755)
+++ projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/vfs/helpers/WrappingVirtualFileHandlerVisitor.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -1,62 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.virtual.plugins.vfs.helpers;
-
-import org.jboss.virtual.VirtualFile;
-import org.jboss.virtual.VirtualFileVisitor;
-import org.jboss.virtual.VisitorAttributes;
-
-/**
- * A handler visitor that wraps a normal file visitor
- *
- * @author <a href="adrian at jboss.com">Adrian Brock</a>
- * @version $Revision: 1.1 $
- */
-public class WrappingVirtualFileHandlerVisitor implements VirtualFileHandlerVisitor
-{
- /** The wrapped visitor */
- private final VirtualFileVisitor visitor;
-
- /**
- * Create a new WrappingVirtualFileHandlerVisitor.
- *
- * @param visitor the visitor
- * @throws IllegalArgumentException if the visitor is null
- */
- public WrappingVirtualFileHandlerVisitor(VirtualFileVisitor visitor)
- {
- if (visitor == null)
- throw new IllegalArgumentException("Null visitor");
- this.visitor = visitor;
- }
-
- public VisitorAttributes getAttributes()
- {
- return visitor.getAttributes();
- }
-
- public void visit(VirtualFileHandler handler)
- {
- VirtualFile file = handler.getVirtualFile();
- visitor.visit(file);
- }
-}
Copied: projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/VirtualFileURLConnection.java (from rev 90754, projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/plugins/vfs/VirtualFileURLConnection.java)
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/VirtualFileURLConnection.java (rev 0)
+++ projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/VirtualFileURLConnection.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -0,0 +1,101 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.virtual.protocol;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.File;
+import java.io.FilePermission;
+import java.net.URL;
+import java.net.URLConnection;
+import java.security.Permission;
+
+import org.jboss.virtual.VFS;
+import org.jboss.virtual.VirtualFile;
+import sun.net.www.ParseUtil;
+
+/**
+ * Implements basic URLConnection for a VirtualFile
+ *
+ * @author <a href="bill at jboss.com">Bill Burke</a>
+ * @author <a href="ales.justin at jboss.com">Ales Justin</a>
+ * @version $Revision: 1.1 $
+ */
+class VirtualFileURLConnection extends URLConnection
+{
+ protected VirtualFile file;
+
+ public VirtualFileURLConnection(URL url) throws IOException
+ {
+ super(url);
+ file = VFS.getInstance().getChild(url.getPath());
+ }
+
+ public void connect() throws IOException
+ {
+ }
+
+ public VirtualFile getContent() throws IOException
+ {
+ return file;
+ }
+
+ public int getContentLength()
+ {
+ try
+ {
+ final long size = file.getSize();
+ return size > (long)Integer.MAX_VALUE ? -1 : (int)size;
+ }
+ catch (IOException e)
+ {
+ throw new RuntimeException(e);
+ }
+ }
+
+ public long getLastModified()
+ {
+ try
+ {
+ return file.getLastModified();
+ }
+ catch (IOException e)
+ {
+ throw new RuntimeException(e);
+ }
+ }
+
+ public InputStream getInputStream() throws IOException
+ {
+ return file.openStream();
+ }
+
+ public Permission getPermission() throws IOException {
+ String decodedPath = ParseUtil.decode(url.getPath());
+ if (File.separatorChar == '/') {
+ return new FilePermission(decodedPath, "read");
+ } else {
+ return new FilePermission(
+ decodedPath.replace('/',File.separatorChar), "read");
+ }
+ }
+}
Copied: projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/VirtualFileURLStreamHandler.java (from rev 90754, projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/file/Handler.java)
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/VirtualFileURLStreamHandler.java (rev 0)
+++ projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/VirtualFileURLStreamHandler.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -0,0 +1,74 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.virtual.protocol;
+
+import java.net.URLStreamHandler;
+import java.net.URLConnection;
+import java.net.URL;
+import java.net.Proxy;
+import java.io.IOException;
+import java.util.Set;
+import java.util.HashSet;
+
+/**
+ * The VFS URL stream handler.
+ */
+public abstract class VirtualFileURLStreamHandler extends URLStreamHandler
+{
+ private static final Set<String> locals;
+
+ static {
+ Set<String> set = new HashSet<String>();
+ set.add(null);
+ set.add("");
+ set.add("~");
+ set.add("localhost");
+ locals = set;
+ }
+
+ protected URLConnection openConnection(URL u) throws IOException
+ {
+ if (locals.contains(toLower(u.getHost())))
+ {
+ // the URL is a valid local URL
+ return new VirtualFileURLConnection(u);
+ }
+
+ throw new IOException("Remote host access not supported for URLs of type \"" + u.getProtocol() + "\"");
+ }
+
+ protected URLConnection openConnection(URL u, Proxy p) throws IOException
+ {
+ return openConnection(u);
+ }
+
+ @Override
+ protected boolean hostsEqual(URL url1, URL url2)
+ {
+ return locals.contains(toLower(url1.getHost())) && locals.contains(toLower(url2.getHost())) || super.hostsEqual(url1, url2);
+ }
+
+ private static String toLower(String str) {
+ return str == null ? null : str.toLowerCase();
+ }
+}
Deleted: projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/file/Handler.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/file/Handler.java 2009-07-02 02:16:29 UTC (rev 90755)
+++ projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/file/Handler.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -1,76 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2009, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.virtual.protocol.file;
-
-import org.jboss.virtual.plugins.vfs.VirtualFileURLConnection;
-
-import java.net.URLStreamHandler;
-import java.net.URLConnection;
-import java.net.URL;
-import java.net.Proxy;
-import java.io.IOException;
-import java.util.Set;
-import java.util.HashSet;
-
-/**
- * The VFS URL stream handler.
- */
-public final class Handler extends URLStreamHandler
-{
- private static final Set<String> locals;
-
- static {
- Set<String> set = new HashSet<String>();
- set.add(null);
- set.add("");
- set.add("~");
- set.add("localhost");
- locals = set;
- }
-
- protected URLConnection openConnection(URL u) throws IOException
- {
- if (locals.contains(toLower(u.getHost())))
- {
- // the URL is a valid local URL
- return new VirtualFileURLConnection(u);
- }
-
- throw new IOException("Remote host access not supported for URLs of type \"" + u.getProtocol() + "\"");
- }
-
- protected URLConnection openConnection(URL u, Proxy p) throws IOException
- {
- return openConnection(u);
- }
-
- @Override
- protected boolean hostsEqual(URL url1, URL url2)
- {
- return locals.contains(toLower(url1.getHost())) && locals.contains(toLower(url2.getHost())) || super.hostsEqual(url1, url2);
- }
-
- private static String toLower(String str) {
- return str == null ? null : str.toLowerCase();
- }
-}
Added: projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/file/Handler.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/file/Handler.java (rev 0)
+++ projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/protocol/file/Handler.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -0,0 +1,32 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.virtual.protocol.file;
+
+import org.jboss.virtual.protocol.VirtualFileURLStreamHandler;
+
+/**
+ * Stub handler class.
+ */
+public final class Handler extends VirtualFileURLStreamHandler
+{
+}
Modified: projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/support/ClassPathIterator.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/support/ClassPathIterator.java 2009-07-02 02:16:29 UTC (rev 90755)
+++ projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/support/ClassPathIterator.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -35,7 +35,7 @@
import org.jboss.virtual.VirtualFile;
import org.jboss.virtual.VirtualFileFilter;
-import org.jboss.virtual.plugins.vfs.VirtualFileURLConnection;
+import org.jboss.virtual.protocol.file.VirtualFileURLConnection;
/**
* ClassPathIterator logic used by UCL package mapping
Modified: projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/support/InputStreamCallerChecker.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/support/InputStreamCallerChecker.java 2009-07-02 02:16:29 UTC (rev 90755)
+++ projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/support/InputStreamCallerChecker.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -40,7 +40,7 @@
"java.lang.Thread",
"org.jboss.virtual.InputStreamDelegate",
"org.jboss.virtual.VirtualFile",
- "org.jboss.virtual.plugins.vfs.VirtualFileURLConnection",
+ "org.jboss.virtual.protocol.file.VirtualFileURLConnection",
"java.net.URL",
"org.jboss.deployers.vfs.spi.deployer.SecurityActions",
"org.jboss.deployers.vfs.spi.deployer.SecurityActions$FileActions$1",
Modified: projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/support/MockVirtualFileHandlerVisitor.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/support/MockVirtualFileHandlerVisitor.java 2009-07-02 02:16:29 UTC (rev 90755)
+++ projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/support/MockVirtualFileHandlerVisitor.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -25,7 +25,6 @@
import java.util.List;
import org.jboss.virtual.VisitorAttributes;
-import org.jboss.virtual.plugins.vfs.helpers.AbstractVirtualFileHandlerVisitor;
/**
* MockVirtualFileHandlerVisitor.
Modified: projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/JARVirtualFileHandlerUnitTestCase.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/JARVirtualFileHandlerUnitTestCase.java 2009-07-02 02:16:29 UTC (rev 90755)
+++ projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/JARVirtualFileHandlerUnitTestCase.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -29,7 +29,6 @@
import junit.framework.Test;
import junit.framework.TestSuite;
-import org.jboss.virtual.plugins.context.jar.JarUtils;
/**
* JARVirtualFileHandlerUnitTestCase.
Modified: projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/SundryVFSUnitTestCase.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/SundryVFSUnitTestCase.java 2009-07-02 02:16:29 UTC (rev 90755)
+++ projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/SundryVFSUnitTestCase.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -27,7 +27,6 @@
import junit.framework.TestSuite;
import org.jboss.virtual.VFS;
import org.jboss.virtual.VirtualFile;
-import org.jboss.virtual.plugins.context.jar.JarUtils;
/**
* SundryVFSTests.
Modified: projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/ZipEntryHandlerUnitTestCase.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/ZipEntryHandlerUnitTestCase.java 2009-07-02 02:16:29 UTC (rev 90755)
+++ projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/ZipEntryHandlerUnitTestCase.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -29,7 +29,6 @@
import java.util.List;
import junit.framework.Test;
-import org.jboss.virtual.plugins.context.jar.JarUtils;
import org.jboss.virtual.VFS;
import org.jboss.virtual.VirtualFile;
Modified: projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/ZipEntryVFSContextUnitTestCase.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/ZipEntryVFSContextUnitTestCase.java 2009-07-02 02:16:29 UTC (rev 90755)
+++ projects/vfs/branches/dml-zip-rework/src/test/java/org/jboss/test/virtual/test/ZipEntryVFSContextUnitTestCase.java 2009-07-02 02:21:38 UTC (rev 90756)
@@ -34,7 +34,6 @@
import org.jboss.virtual.VFS;
import org.jboss.virtual.VFSUtils;
import org.jboss.virtual.VirtualFile;
-import org.jboss.virtual.plugins.context.jar.JarUtils;
/**
* ZipEntryVFSContextUnitTestCase.
More information about the jboss-cvs-commits
mailing list