Open xenoterracide opened 3 years ago
I think Try.mapFailure(...)
needs to be annotated with @SafeVarargs
. This surpasses warnings at the call site.
A programmer assertion that the body of the annotated method or constructor does not perform potentially unsafe operations on its varargs parameter. Applying this annotation to a method or constructor suppresses unchecked warnings about a non-reifiable variable arity (vararg) type and suppresses unchecked warnings about parameterized array creation at call sites.
I'm getting
would be nice not to get that. I see that the code has the
@SuppressWarnings
so I'm not entirely certain whatJava 11
is up to.