Changeset 32944 in osm


Ignore:
Timestamp:
2016-09-08T00:22:18+02:00 (8 years ago)
Author:
donvip
Message:

fix deprecation warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/buildings_tools/src/buildings_tools/DrawBuildingAction.java

    r32943 r32944  
    3131import org.openstreetmap.josm.data.osm.OsmPrimitive;
    3232import org.openstreetmap.josm.data.osm.Way;
     33import org.openstreetmap.josm.data.preferences.ColorProperty;
    3334import org.openstreetmap.josm.gui.MapFrame;
    3435import org.openstreetmap.josm.gui.MapView;
     
    131132            return;
    132133        }
    133         selectedColor = Main.pref.getColor(marktr("selected"), selectedColor);
     134        selectedColor = new ColorProperty(marktr("selected"), selectedColor).get();
    134135        currCursor = cursorCrosshair;
    135136        Main.map.mapView.addMouseListener(this);
Note: See TracChangeset for help on using the changeset viewer.