Changeset 14784 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2019-02-12T01:02:57+01:00 (6 years ago)
Author:
Don-vip
Message:

see #17516 - upgrade to error_prone 2.3.3-SNAPSHOT + patch for Java 13 compatibility

See https://github.com/google/error-prone/issues/1106#issuecomment-460800327

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ToggleAction.java

    r14695 r14784  
    121121     * This method needs to be called especially if the action is associated with a keyboard shortcut to ensure correct selected state.
    122122     * @param e ActionEvent that trigerred the action
    123      * @see <a href="https://weblogs.java.net/blog/zixle/archive/2005/11/changes_to_acti.html">Changes to Actions in 1.6</a>
    124      * @see <a href="https://docs.oracle.com/javase/6/docs/api/javax/swing/Action.html">Interface Action</a>
     123     * @see <a href="https://docs.oracle.com/javase/8/docs/api/javax/swing/Action.html">Interface Action</a>
    125124     */
    126125    protected final void toggleSelectedState(ActionEvent e) {
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/PaintColors.java

    r12987 r14784  
    7979    AREA_TEXT(marktr("areatext"), Color.LIGHT_GRAY);
    8080
    81     /**
    82      * The name of the color
    83      */
    84     private final String name;
    85     private final Color defaultColor;
    8681    private final NamedColorProperty baseProperty;
    8782    private final CachingProperty<Color> property;
     
    9085        baseProperty = new NamedColorProperty(name, defaultColor);
    9186        property = baseProperty.cached();
    92         this.name = name;
    93         this.defaultColor = defaultColor;
    9487    }
    9588
Note: See TracChangeset for help on using the changeset viewer.