RFR: 8272808: Update constant collections to use the new immutable collections - leftovers

Marius Hanl mhanl at openjdk.java.net
Thu Sep 23 18:06:58 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.

modules/javafx.graphics/src/main/java/com/sun/javafx/font/WindowsFontMap.java line 44:

> 42:     }
> 43: 
> 44:     private static Map<String, FamilyDescription> PLATFORM_FONT_MAP;

Shouldn't this variable name stay with the normal camel case because it is not final (only static)?

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

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


More information about the openjfx-dev mailing list