You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] Null passed for non-null parameter of java.util.concurrent.CompletableFuture.getNow(Object) in <...> NP_NONNULL_PARAM_VIOLATION
Unrelated, but the suppression (@SuppressFBWarnings("NP_NONNULL_PARAM_VIOLATION")) only works on class level in the example above, probably because the lambda is a static method on this class. Understandable, but very counter-intuitive.
The text was updated successfully, but these errors were encountered:
Same problem here. This one seems to be similar to #484 and DefaultNullnessAnnotations.java should be extended to allow null values for the getNow() method, similar to the fix for #484 in ac93f80
spotbugs-maven-plugin:3.1.9 reports an error on a valid CompletableFuture.getNow(null) call:
Unrelated, but the suppression (@SuppressFBWarnings("NP_NONNULL_PARAM_VIOLATION")) only works on class level in the example above, probably because the lambda is a static method on this class. Understandable, but very counter-intuitive.
The text was updated successfully, but these errors were encountered: