SOLR-2551 -- Use File.delete instead of File.setWritable to be Java 5 compatible

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1136789 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2011-06-17 07:05:29 +00:00
parent 3117c87d12
commit 1e3aa5cee4
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ public class TestSqlEntityProcessorDelta extends AbstractDataImportHandlerTestCa
runFullImport(dataConfig_delta);
assertQ(req("id:1"), "//*[@numFound='0']");
} finally {
f.setWritable(true);
f.delete();
}
}
}