adds a clairvoyant admission policy to the simulator #4669
Annotations
1 error and 4 warnings
|
simulator/src/main/java/com/github/benmanes/caffeine/cache/simulator/admission/TinyLfu.java#L90
[MissingDefault] The Google Java Style Guide requires that each switch statement includes a default statement group, even if it contains no code. (This requirement is lifted for any switch statement that covers all values of an enum.)
|
simulator/src/main/java/com/github/benmanes/caffeine/cache/simulator/admission/TinyLfu.java#L93
[MissingDefault] The Google Java Style Guide requires that each switch statement includes a default statement group, even if it contains no code. (This requirement is lifted for any switch statement that covers all values of an enum.)
|
simulator/src/main/java/com/github/benmanes/caffeine/cache/simulator/admission/clairvoyant/Clairvoyant.java#L42
[NonFinalStaticField] Static fields should almost always be final.
|
simulator/src/main/java/com/github/benmanes/caffeine/cache/simulator/admission/clairvoyant/Clairvoyant.java#L49
[StaticAssignmentInConstructor] This assignment is to a static field. Mutating static state from a constructor is highly error-prone.
|
This job failed
Loading