- Modified unlock method to have it delete 'commit.lock' with as well.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149635 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2001-12-26 17:23:05 +00:00
parent 62ce310c9e
commit 77139e26a1
1 changed files with 1 additions and 0 deletions

View File

@ -274,5 +274,6 @@ abstract public class IndexReader {
*/
public static void unlock(Directory directory) throws IOException {
directory.deleteFile("write.lock");
directory.deleteFile("commit.lock");
}
}