[jboss-cvs] JBossAS SVN: r91938 - projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Aug 3 22:37:32 EDT 2009
Author: david.lloyd at jboss.com
Date: 2009-08-03 22:37:32 -0400 (Mon, 03 Aug 2009)
New Revision: 91938
Modified:
projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/VirtualFile.java
Log:
Remove unneccessary try block
Modified: projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/VirtualFile.java
===================================================================
--- projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/VirtualFile.java 2009-08-04 02:36:51 UTC (rev 91937)
+++ projects/vfs/branches/dml-zip-rework/src/main/java/org/jboss/virtual/VirtualFile.java 2009-08-04 02:37:32 UTC (rev 91938)
@@ -116,18 +116,9 @@
}
builder.append(name);
}
-
- try
- {
- // Perhaps this should be cached to avoid the fs stat call?
- if (url && isDirectory())
- builder.append("/");
- }
- catch (IOException e)
- {
- // Don't care
- }
-
+ // Perhaps this should be cached to avoid the fs stat call?
+ if (url && isDirectory())
+ builder.append("/");
return builder.toString();
}
More information about the jboss-cvs-commits
mailing list