Skip to content

Use diamond operator when creating instances #273

@danlz

Description

@danlz

The generated code provides full generic type information when creating instances of generic classes:

private static final Set<Class<?>> RESOURCE_CLASSES = new HashSet<Class<?>>();

You can use the diamond operator instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions