Skip to content

Commit d795a89

Browse files
committed
rename for better readability
1 parent 70f29ad commit d795a89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ public void fileRemove(String path) {
6161
public void fileAdded(String path, String analyzer) {
6262
Statistics stat = statMap.get(path);
6363
if (stat != null) {
64-
boolean ret = stat.report(LOGGER, Level.FINEST, String.format("Added: '%s' (%s)", path, analyzer),
64+
boolean loggingDone = stat.report(LOGGER, Level.FINEST, String.format("Added: '%s' (%s)", path, analyzer),
6565
"indexer.file.add.latency");
6666
statMap.remove(path, stat);
6767

6868
// The report() updated the meter, however might not have emitted the log message.
6969
// In such case allow it to fall through to the below log() statement.
70-
if (ret) {
70+
if (loggingDone) {
7171
return;
7272
}
7373
}

0 commit comments

Comments
 (0)