Skip to content

Commit 5a4c17a

Browse files
committed
add comment
1 parent 80a1594 commit 5a4c17a

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/DefaultIndexChangedListener.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ public void fileAdded(String path, String analyzer) {
6464
stat.report(LOGGER, Level.FINEST, String.format("Added: '%s' (%s)", path, analyzer),
6565
"indexer.file.add.latency");
6666
statMap.remove(path, stat);
67+
68+
// The reporting updated the meter, however might not have emitted the log message.
6769
if (LOGGER.isLoggable(Level.FINEST)) {
6870
return;
6971
}

0 commit comments

Comments
 (0)