mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-03 21:07:49 +08:00
Removed old code
This commit is contained in:
parent
fbbf6eb68d
commit
02d52cc2bd
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user