Skip to content

Commit d281c83

Browse files
committed
Squash SpotBugs warning
1 parent c3a817b commit d281c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/rabbitmq/stream/perf/CompletionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,6 @@ public void countDown(String reason) {
106106
}
107107

108108
private static void recordReason(Map<String, Integer> reasons, String reason) {
109-
reasons.compute(reason, (keyReason, count) -> count == null ? 1 : ++count);
109+
reasons.compute(reason, (keyReason, count) -> count == null ? 1 : count + 1);
110110
}
111111
}

0 commit comments

Comments
 (0)