Skip to content

Commit

Permalink
Fix CheckReturnValue violation in MetricsStatsCounterTest
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi authored and renovate[bot] committed Feb 12, 2023
1 parent d9e3bd1 commit 3d97e17
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -26,7 +26,7 @@
import org.junit.Test;

/**
* An example of exporting stats to Dropwizard Metrics (http://metrics.dropwizard.io).
* An example of exporting stats to <a href="https://metrics.dropwizard.io">Dropwizard Metrics</a>.
*
* @author ben.manes@gmail.com (Ben Manes)
* @author John Karp
Expand All @@ -52,7 +52,7 @@ public void basicUsage() {

// Perform application work
for (int i = 0; i < 4; i++) {
cache.get(1);
Integer unused = cache.get(1);
}

assertEquals(3L, cache.stats().hitCount());
Expand Down

0 comments on commit 3d97e17

Please sign in to comment.