Skip to content

Non-null type argument is expected #530

@ghost

Description

Hi

Lately I started working with intellij and its inspections mechanism seems to be too sensitive but I want to make sure I'm not missing something. I set the following
private Cache<String, AnObject> objectsCache = null; (Initialization comes later on)

It marks both String and AnObject with a warning:

Non-null type argument is expected

What am I missing?
Thanks

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