lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/index IndexReader.java
Date Wed, 26 Dec 2001 17:23:05 GMT
otis        01/12/26 09:23:05

  Modified:    src/java/org/apache/lucene/index IndexReader.java
  Log:
  - Modified unlock method to have it delete 'commit.lock' with as well.
  
  Revision  Changes    Path
  1.5       +1 -0      jakarta-lucene/src/java/org/apache/lucene/index/IndexReader.java
  
  Index: IndexReader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/IndexReader.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- IndexReader.java	2001/12/25 19:27:04	1.4
  +++ IndexReader.java	2001/12/26 17:23:05	1.5
  @@ -274,5 +274,6 @@
       */
       public static void unlock(Directory directory) throws IOException {
   	directory.deleteFile("write.lock");
  +	directory.deleteFile("commit.lock");
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message