[jboss-cvs] JBossAS SVN: r76596 - projects/vfs/trunk/src/main/java/org/jboss/virtual.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Aug 3 10:21:37 EDT 2008
Author: alesj
Date: 2008-08-03 10:21:36 -0400 (Sun, 03 Aug 2008)
New Revision: 76596
Modified:
projects/vfs/trunk/src/main/java/org/jboss/virtual/VFSUtils.java
Log:
Revert os.close.
Modified: projects/vfs/trunk/src/main/java/org/jboss/virtual/VFSUtils.java
===================================================================
--- projects/vfs/trunk/src/main/java/org/jboss/virtual/VFSUtils.java 2008-08-03 09:35:49 UTC (rev 76595)
+++ projects/vfs/trunk/src/main/java/org/jboss/virtual/VFSUtils.java 2008-08-03 14:21:36 UTC (rev 76596)
@@ -731,15 +731,7 @@
}
}
if (os != null)
- {
- try
- {
- os.close();
- }
- catch (IOException ignored)
- {
- }
- }
+ os.close();
}
}
@@ -807,7 +799,7 @@
* @throws Exception for any error
* @param <T> exact resource type
*/
- protected static <T> T getCompatibleResource(VirtualFile file, ResourceCreator<T> creator) throws Exception
+ private static <T> T getCompatibleResource(VirtualFile file, ResourceCreator<T> creator) throws Exception
{
if (file == null)
throw new IllegalArgumentException("Null file");
More information about the jboss-cvs-commits
mailing list