Integrated: 8286663: Resolve IDE warnings in WTrayIconPeer and SystemTray
Alexey Ivanov
aivanov at openjdk.java.net
Wed Jun 8 15:38:52 UTC 2022
On Mon, 23 May 2022 16:43:05 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> **WTrayIconPeer**: removed duplicate call to `popupParent.dispose()` that might cause NPE (it looks `popupParent` cannot be `null`); organised imports.
>
> **SystemTray**: removed redundant initialisers; replaced sized array with empty array in `toArray` call; dropped `newValue != null` chained with `equals`.
This pull request has now been integrated.
Changeset: a9b9831f
Author: Alexey Ivanov <aivanov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/a9b9831f2a88ed3b7701d402b167a096b94aeb98
Stats: 33 lines in 2 files changed: 8 ins; 14 del; 11 mod
8286663: Resolve IDE warnings in WTrayIconPeer and SystemTray
Reviewed-by: prr, serb, honkar
-------------
PR: https://git.openjdk.java.net/jdk/pull/8850
More information about the client-libs-dev
mailing list