[jboss-cvs] JBossAS SVN: r97756 - 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
Fri Dec 11 16:31:47 EST 2009


Author: johnbailey
Date: 2009-12-11 16:31:47 -0500 (Fri, 11 Dec 2009)
New Revision: 97756

Modified:
   projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/VFSUtils.java
Log:
Fixed bug in VFSUtils::addManifestLocations still null checking for VirtualFile existence. 

Modified: projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/VFSUtils.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/VFSUtils.java	2009-12-11 21:17:07 UTC (rev 97755)
+++ projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/VFSUtils.java	2009-12-11 21:31:47 UTC (rev 97756)
@@ -156,7 +156,7 @@
             String path = tokenizer.nextToken();
             try {
                 VirtualFile vf = parent.getChild(path);
-                if (vf != null) {
+                if (vf.exists()) {
                     if (paths.contains(vf) == false) {
                         paths.add(vf);
                         // Recursively process the jar




More information about the jboss-cvs-commits mailing list