On Mon, 23 May 2022 16:43:05 GMT, Alexey Ivanov <aiva...@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 <aiva...@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

Reply via email to