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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Oct 9 18:44:52 EDT 2009


Author: david.lloyd at jboss.com
Date: 2009-10-09 18:44:52 -0400 (Fri, 09 Oct 2009)
New Revision: 94630

Modified:
   projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/spi/AssemblyFileSystem.java
Log:
Fix NPE

Modified: projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/spi/AssemblyFileSystem.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/spi/AssemblyFileSystem.java	2009-10-09 22:43:50 UTC (rev 94629)
+++ projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/spi/AssemblyFileSystem.java	2009-10-09 22:44:52 UTC (rev 94630)
@@ -111,7 +111,7 @@
     private VirtualFile getExistingFile(final VirtualFile mountPoint, final VirtualFile target) throws FileNotFoundException {
         VirtualFile assemblyFile = assembly.getFile(mountPoint, target);
         if (assemblyFile == null) {
-            throw new FileNotFoundException(assemblyFile.getPathName());
+            throw new FileNotFoundException(target.getPathName());
         }
         return assemblyFile;
     }




More information about the jboss-cvs-commits mailing list