-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use @SafeVarargs annotation instad of multiple fixed-arity factory methods that overload varargs method #83
Comments
I'm currently hitting warnings with Should (Or might it be that these methods are not actually safe to annotate this way...?) |
Even with 2.0.0.0 I still do not see the annotation on |
I think this was closed preliminarily (unless it was meant as a "won't fix", but then a comment would be nice). I propose all of the varargs methods in (I don't understand how this changes the ABI ... the method still accepts an array of the upper bound type, right?) |
@sf105 Would you consider reopening this? |
Agreed. This have got too confused. |
What exactly will be done with this issue? It looks like the current source has the |
Agree, closing this. |
The overloaded methods were written to reduce compile warnings in client code. The @SafeVarargs annotation that was introduced in Java 7 suppresses them altogether.
This will change the ABI, but code will still be source compatible.
The text was updated successfully, but these errors were encountered: