enable nullaway on unit tests (wip) #4958
Annotations
7 errors
Forbidden Apis:
caffeine/src/test/java/com/github/benmanes/caffeine/cache/BoundedLocalCacheTest.java#L492
[NullAway] Cannot assign from type DisabledFuture to type @nullable Future<?> due to mismatched nullability of type parameters
|
Forbidden Apis:
caffeine/src/test/java/com/github/benmanes/caffeine/cache/PacerTest.java#L217
[NullAway] Cannot assign from type DisabledFuture to type @nullable Future<?> due to mismatched nullability of type parameters
|
Forbidden Apis:
caffeine/src/test/java/com/github/benmanes/caffeine/cache/CaffeineTest.java#L767
[NullAway] Cannot return expression of type DisabledFuture from method with return type Future<? extends @nullable Object> due to mismatched nullability of type parameters
|
Forbidden Apis:
caffeine/src/test/java/com/github/benmanes/caffeine/cache/LoadingCacheTest.java#L1125
[NullAway] Cannot assign from type CacheLoader<Object, @nullable Object> to type CacheLoader<Object, ?> due to mismatched nullability of type parameters
|
Forbidden Apis:
caffeine/src/test/java/com/github/benmanes/caffeine/cache/LoadingCacheTest.java#L1166
[NullAway] Cannot assign from type CacheLoader<Object, @nullable Object> to type CacheLoader<Object, ?> due to mismatched nullability of type parameters
|
Forbidden Apis:
caffeine/src/test/java/com/github/benmanes/caffeine/cache/BoundedLocalCacheTest.java#L492
[NullAway] Cannot assign from type DisabledFuture to type @nullable Future<?> due to mismatched nullability of type parameters
|
Forbidden Apis
Process completed with exit code 1.
|
Loading