[jboss-cvs] JBossAS SVN: r84404 - projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 18 13:16:42 EST 2009


Author: alesj
Date: 2009-02-18 13:16:42 -0500 (Wed, 18 Feb 2009)
New Revision: 84404

Modified:
   projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/FileCleanupUnitTest.java
Log:
Simple fix.

Modified: projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/FileCleanupUnitTest.java
===================================================================
--- projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/FileCleanupUnitTest.java	2009-02-18 18:09:27 UTC (rev 84403)
+++ projects/vfs/trunk/src/test/java/org/jboss/test/virtual/test/FileCleanupUnitTest.java	2009-02-18 18:16:42 UTC (rev 84404)
@@ -82,8 +82,7 @@
          String tempDirKey = System.getProperty("vfs.temp.dir", "jboss.server.temp.dir");
          String tempDirString = System.getProperty(tempDirKey, System.getProperty("java.io.tmpdir"));
 
-         tempDir =  new File(tempDirString);
-         tempDir = new File(tempDir, GUID.asString());
+         tempDir = new File(new File(tempDirString), GUID.asString());
          tempDir.deleteOnExit();
          if (tempDir.exists())
          {




More information about the jboss-cvs-commits mailing list