lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r1136789 - /lucene/dev/trunk/solr/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestSqlEntityProcessorDelta.java
Date Fri, 17 Jun 2011 07:05:30 GMT
Author: shalin
Date: Fri Jun 17 07:05:29 2011
New Revision: 1136789

URL: http://svn.apache.org/viewvc?rev=1136789&view=rev
Log:
SOLR-2551 -- Use File.delete instead of File.setWritable to be Java 5 compatible

Modified:
    lucene/dev/trunk/solr/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestSqlEntityProcessorDelta.java

Modified: lucene/dev/trunk/solr/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestSqlEntityProcessorDelta.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestSqlEntityProcessorDelta.java?rev=1136789&r1=1136788&r2=1136789&view=diff
==============================================================================
--- lucene/dev/trunk/solr/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestSqlEntityProcessorDelta.java
(original)
+++ lucene/dev/trunk/solr/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestSqlEntityProcessorDelta.java
Fri Jun 17 07:05:29 2011
@@ -120,7 +120,7 @@ public class TestSqlEntityProcessorDelta
         runFullImport(dataConfig_delta);
         assertQ(req("id:1"), "//*[@numFound='0']");
       } finally {
-        f.setWritable(true);
+        f.delete();
       }
     }
   }



Mime
View raw message