Skip to content

Commit 9cb40ae

Browse files
author
Vladimir Kotal
committed
add comment per Chris
1 parent eb8404d commit 9cb40ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,8 @@ public void update() throws IOException {
500500
}
501501
}
502502

503+
// The RuntimeException thrown from the block above can prevent the writing from completing.
504+
// This is deliberate.
503505
try {
504506
finishWriting();
505507
} catch (IOException e) {

0 commit comments

Comments
 (0)