File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
src/main/java/com/codahale/metrics/caffeine Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 3333 <artifactId >caffeine</artifactId >
3434 <version >2.9.3</version >
3535 </dependency >
36- <dependency >
37- <groupId >org.checkerframework</groupId >
38- <artifactId >checker-qual</artifactId >
39- <version >3.49.5</version >
40- </dependency >
4136 </dependencies >
4237 </dependencyManagement >
4338
5045 <groupId >com.github.ben-manes.caffeine</groupId >
5146 <artifactId >caffeine</artifactId >
5247 </dependency >
53- <dependency >
54- <groupId >org.checkerframework</groupId >
55- <artifactId >checker-qual</artifactId >
56- </dependency >
5748 <dependency >
5849 <groupId >junit</groupId >
5950 <artifactId >junit</artifactId >
Original file line number Diff line number Diff line change 2828import com .github .benmanes .caffeine .cache .RemovalCause ;
2929import com .github .benmanes .caffeine .cache .stats .CacheStats ;
3030import com .github .benmanes .caffeine .cache .stats .StatsCounter ;
31- import org .checkerframework .checker .index .qual .NonNegative ;
3231
3332/**
3433 * A {@link StatsCounter} instrumented with Dropwizard Metrics.
@@ -110,7 +109,7 @@ public void recordEviction(int weight) {
110109 }
111110
112111 @ Override
113- public void recordEviction (@ NonNegative int weight , RemovalCause cause ) {
112+ public void recordEviction (int weight , RemovalCause cause ) {
114113 evictionsWithCause .get (cause ).update (weight );
115114 evictionWeight .inc (weight );
116115 }
You can’t perform that action at this time.
0 commit comments