Mercurial Hosting > luan
comparison src/luan/modules/lucene/LuceneIndex.java @ 1763:164c6ea53147
fix change_password
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 22 May 2023 19:21:14 -0600 |
parents | d1e7564a9ce5 |
children | 527c53b91a50 |
comparison
equal
deleted
inserted
replaced
1762:7d2297155ee3 | 1763:164c6ea53147 |
---|---|
414 protected void finalize() throws Throwable { | 414 protected void finalize() throws Throwable { |
415 close(); | 415 close(); |
416 super.finalize(); | 416 super.finalize(); |
417 } | 417 } |
418 | 418 |
419 public void close_down() throws IOException { | |
420 String key = indexDir.getCanonicalPath(); | |
421 synchronized(indexes) { | |
422 indexes.remove(key); | |
423 } | |
424 close(); | |
425 } | |
426 | |
419 public void close() throws IOException { | 427 public void close() throws IOException { |
420 closeWriter(); | 428 closeWriter(); |
421 reader.close(); | 429 reader.close(); |
422 } | 430 } |
423 | 431 |