Skip to content

Commit 097be24

Browse files
author
Vladimir Kotal
authored
fix comment
addFile() is not called from indexDown(). It is called from indexParallel() for IndexFileWork instances collected in indexDown().
1 parent 8570eb5 commit 097be24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ private void indexDown(File dir, String parent, IndexDownArgs args)
12711271

12721272
// If the term's path matches path of currently processed file,
12731273
// it is clear that the file has been modified and thus
1274-
// removeFile() will be followed by call to addFile() below.
1274+
// removeFile() will be followed by call to addFile() in indexParallel().
12751275
// In such case, instruct removeFile() not to remove history
12761276
// cache for the file so that incremental history cache
12771277
// generation works.

0 commit comments

Comments
 (0)