Removed old code

This commit is contained in:
Lassi Immonen 2011-01-04 15:53:49 +00:00
parent fbbf6eb68d
commit 02d52cc2bd

View File

@ -83,15 +83,7 @@ public class LuceneSessionImpl implements LuceneSession {
}
if (writer != null) {
if (writer.isLeased()) {
try {
writer.commit();
} finally {
writer.release();
}
} else {
writer.close();
}
writer.close();
}
if (searcherException != null) {