RFR: 8301822: BasicLookAndFeel does not need to check for null after checking for type

Sergey Bylokhov serb at openjdk.org
Thu Feb 9 02:55:51 UTC 2023


On Mon, 16 Jan 2023 20:30:08 GMT, SWinxy <duke at openjdk.org> wrote:

> BasicLookAndFeel checks an instanceof in its `AWTEventHelper` listener class, but the result of that will always be non-null. The check should be removed.

Marked as reviewed by serb (Reviewer).

-------------

PR: https://git.openjdk.org/jdk/pull/12019



More information about the client-libs-dev mailing list