Skip to content

Commit 33140d0

Browse files
committed
rename
1 parent 393fb24 commit 33140d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexDatabase.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public class IndexDatabase {
165165
private boolean isCountingDeltas;
166166
private boolean isWithDirectoryCounts;
167167
private List<String> directories;
168-
private LockFactory lockfact;
168+
private LockFactory lockFactory;
169169
private final BytesRef emptyBR = new BytesRef("");
170170

171171
// Directory where we store indexes
@@ -195,7 +195,7 @@ public IndexDatabase() throws IOException {
195195
public IndexDatabase(Project project, IndexDownArgsFactory factory) throws IOException {
196196
indexDownArgsFactory = factory;
197197
this.project = project;
198-
lockfact = NoLockFactory.INSTANCE;
198+
lockFactory = NoLockFactory.INSTANCE;
199199
initialize();
200200
}
201201

@@ -329,8 +329,8 @@ private void initialize() throws IOException {
329329
}
330330
}
331331

332-
lockfact = pickLockFactory(env);
333-
indexDirectory = FSDirectory.open(indexDir.toPath(), lockfact);
332+
lockFactory = pickLockFactory(env);
333+
indexDirectory = FSDirectory.open(indexDir.toPath(), lockFactory);
334334
pathAccepter = env.getPathAccepter();
335335
analyzerGuru = new AnalyzerGuru();
336336
xrefDir = new File(env.getDataRootFile(), XREF_DIR);

0 commit comments

Comments
 (0)