Index: trunk/src/org/openstreetmap/josm/actions/ToggleAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/ToggleAction.java	(revision 14779)
+++ trunk/src/org/openstreetmap/josm/actions/ToggleAction.java	(revision 14784)
@@ -121,6 +121,5 @@
      * This method needs to be called especially if the action is associated with a keyboard shortcut to ensure correct selected state.
      * @param e ActionEvent that trigerred the action
-     * @see <a href="https://weblogs.java.net/blog/zixle/archive/2005/11/changes_to_acti.html">Changes to Actions in 1.6</a>
-     * @see <a href="https://docs.oracle.com/javase/6/docs/api/javax/swing/Action.html">Interface Action</a>
+     * @see <a href="https://docs.oracle.com/javase/8/docs/api/javax/swing/Action.html">Interface Action</a>
      */
     protected final void toggleSelectedState(ActionEvent e) {
Index: trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/PaintColors.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/PaintColors.java	(revision 14779)
+++ trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/PaintColors.java	(revision 14784)
@@ -79,9 +79,4 @@
     AREA_TEXT(marktr("areatext"), Color.LIGHT_GRAY);
 
-    /**
-     * The name of the color
-     */
-    private final String name;
-    private final Color defaultColor;
     private final NamedColorProperty baseProperty;
     private final CachingProperty<Color> property;
@@ -90,6 +85,4 @@
         baseProperty = new NamedColorProperty(name, defaultColor);
         property = baseProperty.cached();
-        this.name = name;
-        this.defaultColor = defaultColor;
     }
 
