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

Sergey Bylokhov serb at openjdk.org
Sat Feb 4 19:19:35 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.

Looks fine.

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

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



More information about the client-libs-dev mailing list