On Thu, 14 Oct 2021 23:50:10 GMT, Kevin Rushforth <k...@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.
>
> 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.

Even more than that one :)

-------------

PR: https://git.openjdk.java.net/jfx/pull/627

Reply via email to