lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r487878 - /lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java
Date Sat, 16 Dec 2006 20:38:45 GMT
Author: gsingers
Date: Sat Dec 16 12:38:44 2006
New Revision: 487878

URL: http://svn.apache.org/viewvc?view=rev&rev=487878
Log:
Uses JUnit Task defined tempDir instead of system temp.

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java?view=diff&rev=487878&r1=487877&r2=487878
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/index/TestFieldsReader.java Sat Dec 16 12:38:44
2006
@@ -163,7 +163,7 @@
    * @throws Exception
    */
   public void testLazyPerformance() throws Exception {
-    String tmpIODir = System.getProperty("java.io.tmpdir");
+    String tmpIODir = System.getProperty("tempDir");
     String userName = System.getProperty("user.name");
     String path = tmpIODir + File.separator + "lazyDir" + userName;
     File file = new File(path);



Mime
View raw message