mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-03 21:07:49 +08:00
added finals
This commit is contained in:
parent
1cc08c1455
commit
c8f5ba7d80
@ -14,7 +14,7 @@ import com.mysema.query.QueryException;
|
||||
*/
|
||||
public class LuceneSearcher {
|
||||
|
||||
private IndexSearcher searcher;
|
||||
private final IndexSearcher searcher;
|
||||
|
||||
public LuceneSearcher(IndexSearcher searcher) {
|
||||
this.searcher = searcher;
|
||||
|
||||
@ -22,14 +22,6 @@ public class LuceneSessionFactoryImpl implements LuceneSessionFactory {
|
||||
|
||||
private final AtomicReference<LuceneSearcher> searcher = new AtomicReference<LuceneSearcher>();
|
||||
|
||||
// private LuceneInternalsFactory factory = new LuceneInternalsFactory() {
|
||||
// IndexSearcher
|
||||
// }
|
||||
//
|
||||
// public static interface LuceneInternalsFactory {
|
||||
//
|
||||
// }
|
||||
|
||||
public LuceneSessionFactoryImpl(String indexPath) throws IOException {
|
||||
File folder = new File(indexPath);
|
||||
if (!folder.exists() && !folder.mkdirs()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user