changeset 6698:50c71073123a

RT-34956. Post-commit review follow-up. Marking weight as final.
author Felipe Heidrich <felipe.heidrich@oracle.com>
date Fri, 11 Apr 2014 08:25:48 -0700
parents d1a0b9ea32da
children c9583a09f6cb
files modules/graphics/src/main/java/javafx/scene/text/FontWeight.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/javafx/scene/text/FontWeight.java	Fri Apr 11 08:47:59 2014 -0600
+++ b/modules/graphics/src/main/java/javafx/scene/text/FontWeight.java	Fri Apr 11 08:25:48 2014 -0700
@@ -81,7 +81,7 @@
      */
     BLACK(900, "Black", "Heavy");
 
-    private int weight;
+    private final int weight;
     private final String[] names;
     
     private FontWeight(int weight, String... names) {