RFR: 8272808: Update constant collections to use the new immutable collections - leftovers
Kevin Rushforth
kcr at openjdk.java.net
Fri Oct 15 00:09:49 UTC 2021
On Tue, 21 Sep 2021 11:13:06 GMT, Nir Lisker <nlisker at openjdk.org> wrote:
> Replacements of more immutable collections.
>
> One thing I found was that the field `idMap` in `com.sun.java.scene.web.WebViewHelper.WebView` seems unused. I can remove it if that's indeed the case.
Marked as reviewed by kcr (Lead).
modules/javafx.web/src/main/java/com/sun/webkit/Utilities.java line 91:
> 89:
> 90: // List of packages to reject
> 91: private static final List<String> PACKAGES_REJECT_LIST = List.of(
After this change, I think the import of `java.util.Arrays` is unused.
-------------
PR: https://git.openjdk.java.net/jfx/pull/627
More information about the openjfx-dev
mailing list