Skip to content

Commit 3d97e17

Browse files
joschirenovate[bot]
authored andcommitted
Fix CheckReturnValue violation in MetricsStatsCounterTest
1 parent d9e3bd1 commit 3d97e17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

metrics-caffeine3/src/test/java/io/dropwizard/metrics/caffeine3/MetricsStatsCounterTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.junit.Test;
2727

2828
/**
29-
* An example of exporting stats to Dropwizard Metrics (http://metrics.dropwizard.io).
29+
* An example of exporting stats to <a href="https://metrics.dropwizard.io">Dropwizard Metrics</a>.
3030
*
3131
* @author [email protected] (Ben Manes)
3232
* @author John Karp
@@ -52,7 +52,7 @@ public void basicUsage() {
5252

5353
// Perform application work
5454
for (int i = 0; i < 4; i++) {
55-
cache.get(1);
55+
Integer unused = cache.get(1);
5656
}
5757

5858
assertEquals(3L, cache.stats().hitCount());

0 commit comments

Comments
 (0)