Integrated: 8301822: BasicLookAndFeel does not need to check for null after checking for type
SWinxy
duke at openjdk.org
Thu Feb 9 17:49:55 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.
This pull request has now been integrated.
Changeset: 597a9a48
Author: SWinxy <swinxythecat at gmail.com>
Committer: Julian Waters <jwaters at 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
More information about the client-libs-dev
mailing list