[jboss-cvs] JBossAS SVN: r74892 - projects/vfs/trunk/src/main/java/org/jboss/virtual/plugins/context.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Jun 22 14:32:46 EDT 2008


Author: mstruk
Date: 2008-06-22 14:32:45 -0400 (Sun, 22 Jun 2008)
New Revision: 74892

Modified:
   projects/vfs/trunk/src/main/java/org/jboss/virtual/plugins/context/DelegatingHandler.java
Log:
JBAS-5614 There may be a deeper issue here but this simple fix gets the test passing

Modified: projects/vfs/trunk/src/main/java/org/jboss/virtual/plugins/context/DelegatingHandler.java
===================================================================
--- projects/vfs/trunk/src/main/java/org/jboss/virtual/plugins/context/DelegatingHandler.java	2008-06-22 11:12:36 UTC (rev 74891)
+++ projects/vfs/trunk/src/main/java/org/jboss/virtual/plugins/context/DelegatingHandler.java	2008-06-22 18:32:45 UTC (rev 74892)
@@ -99,6 +99,8 @@
 
    public VirtualFileHandler getChild(String path) throws IOException
    {
+      if ("".equals(path))
+         return this;
       return getDelegate().getChild(path);
    }
 




More information about the jboss-cvs-commits mailing list