On Mon, 16 Jan 2023 20:30:08 GMT, SWinxy <d...@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.
This pull request has now been integrated. Changeset: 597a9a48 Author: SWinxy <swinxythe...@gmail.com> Committer: Julian Waters <jwat...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/597a9a485216f6d5b1082eebfa1029524f247e8d Stats: 16 lines in 1 file changed: 2 ins; 5 del; 9 mod 8301822: BasicLookAndFeel does not need to check for null after checking for type Reviewed-by: serb ------------- PR: https://git.openjdk.org/jdk/pull/12019