Skip to content

Refactor instanceof checks to pattern variables #17302

@AmitKumarDeoghoria

Description

@AmitKumarDeoghoria

From comment : #17259 (comment).
During the JDK 17 upgrade(#17168), IntelliJ has identified 22 locations where traditional instanceof checks can be replaced with JDK 16+ pattern variables. This is a language feature requiring JDK 16+, so it should be addressed after the JDK 17 migration.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions