Author: kevj
Date: Tue Jan 29 23:27:42 2008
New Revision: 616668

URL: http://svn.apache.org/viewvc?rev=616668&view=rev
Log:
fix failing test tmploc defined twice in same method

Modified:
    
ant/core/branches/ANT_17_BRANCH/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java

Modified: 
ant/core/branches/ANT_17_BRANCH/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java
URL: 
http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java?rev=616668&r1=616667&r2=616668&view=diff
==============================================================================
--- 
ant/core/branches/ANT_17_BRANCH/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java
 (original)
+++ 
ant/core/branches/ANT_17_BRANCH/src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java
 Tue Jan 29 23:27:42 2008
@@ -378,7 +378,7 @@
 
         // null parent dir
         File tmp3 = FILE_UTILS.createTempFile("pre", ".suf", null, false);
-        String  tmploc = System.getProperty("java.io.tmpdir");
+        tmploc = System.getProperty("java.io.tmpdir");
         assertEquals((new File(tmploc, tmp3.getName())).getAbsolutePath(),
                      tmp3.getAbsolutePath());
     }


Reply via email to