[jboss-cvs] JBossAS SVN: r91994 - 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
Tue Aug 4 21:51:47 EDT 2009


Author: david.lloyd at jboss.com
Date: 2009-08-04 21:51:47 -0400 (Tue, 04 Aug 2009)
New Revision: 91994

Modified:
   projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/VirtualFile.java
Log:
Remove useless catch

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-08-05 01:51:08 UTC (rev 91993)
+++ projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/vfs/VirtualFile.java	2009-08-05 01:51:47 UTC (rev 91994)
@@ -396,13 +396,8 @@
                 current = new VirtualFile(part, current);
             }
         }
-        try {
-            if (current.exists())
-                return current;
-        }
-        catch (IOException e) {
-            // Fall-through
-        }
+        if (current.exists())
+            return current;
         return null;
     }
 




More information about the jboss-cvs-commits mailing list