Skip to content
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

Explains soft assertions and assumptions potential type safety warning #88

Open
joel-costigliola opened this issue Oct 13, 2018 · 0 comments

Comments

@joel-costigliola
Copy link
Owner

Explains why soft assertions and assumptions raise a type safety warning like

Type safety: A generic array of Consumer<String> is created for a varargs parameter

when used with method taking a generic vararg.

Solution add @SuppressWarnings("unchecked")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant