[jboss-cvs] JBossAS SVN: r94222 - projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Oct 1 15:27:07 EDT 2009


Author: david.lloyd at jboss.com
Date: 2009-10-01 15:27:07 -0400 (Thu, 01 Oct 2009)
New Revision: 94222

Modified:
   projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/VirtualFile.java
Log:
Do not prevent creation of a VirtualFile instance just because there is no such backing file

Modified: projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/VirtualFile.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/VirtualFile.java	2009-10-01 18:44:43 UTC (rev 94221)
+++ projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/VirtualFile.java	2009-10-01 19:27:07 UTC (rev 94222)
@@ -396,9 +396,7 @@
                 current = new VirtualFile(part, current);
             }
         }
-        if (current.exists())
-            return current;
-        return null;
+        return current;
     }
 
     /**




More information about the jboss-cvs-commits mailing list