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 33
33
<artifactId >caffeine</artifactId >
34
34
<version >2.9.3</version >
35
35
</dependency >
36
- <dependency >
37
- <groupId >org.checkerframework</groupId >
38
- <artifactId >checker-qual</artifactId >
39
- <version >3.49.5</version >
40
- </dependency >
41
36
</dependencies >
42
37
</dependencyManagement >
43
38
50
45
<groupId >com.github.ben-manes.caffeine</groupId >
51
46
<artifactId >caffeine</artifactId >
52
47
</dependency >
53
- <dependency >
54
- <groupId >org.checkerframework</groupId >
55
- <artifactId >checker-qual</artifactId >
56
- </dependency >
57
48
<dependency >
58
49
<groupId >junit</groupId >
59
50
<artifactId >junit</artifactId >
Original file line number Diff line number Diff line change 28
28
import com .github .benmanes .caffeine .cache .RemovalCause ;
29
29
import com .github .benmanes .caffeine .cache .stats .CacheStats ;
30
30
import com .github .benmanes .caffeine .cache .stats .StatsCounter ;
31
- import org .checkerframework .checker .index .qual .NonNegative ;
32
31
33
32
/**
34
33
* A {@link StatsCounter} instrumented with Dropwizard Metrics.
@@ -110,7 +109,7 @@ public void recordEviction(int weight) {
110
109
}
111
110
112
111
@ Override
113
- public void recordEviction (@ NonNegative int weight , RemovalCause cause ) {
112
+ public void recordEviction (int weight , RemovalCause cause ) {
114
113
evictionsWithCause .get (cause ).update (weight );
115
114
evictionWeight .inc (weight );
116
115
}
You can’t perform that action at this time.
0 commit comments