Skip to content

Explains soft assertions and assumptions potential type safety warning #88

@joel-costigliola

Description

@joel-costigliola

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions