Changeset 32446 in osm for applications/editors/josm


Ignore:
Timestamp:
2016-06-29T21:13:34+02:00 (8 years ago)
Author:
donvip
Message:

remove calls to deprecated methods

Location:
applications/editors/josm/plugins/HouseNumberTaggingTool
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/HouseNumberTaggingTool/build.xml

    r31926 r32446  
    44    <property name="commit.message" value="Initial version."/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="7001"/>
     6    <property name="plugin.main.version" value="10279"/>
    77    <!-- Configure these properties (replace "..." accordingly).
    88         See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
  • applications/editors/josm/plugins/HouseNumberTaggingTool/src/org/openstreetmap/josm/plugins/housenumbertool/TagDialog.java

    r30775 r32446  
    512512         */
    513513        Set<String> names = new TreeSet<>();
    514         for (OsmPrimitive osm : Main.main.getCurrentDataSet().allNonDeletedPrimitives()) {
     514        for (OsmPrimitive osm : Main.getLayerManager().getEditDataSet().allNonDeletedPrimitives()) {
    515515            if (osm.getKeys() != null && osm.keySet().contains("highway") && osm.keySet().contains("name")) {
    516516                names.add(osm.get("name"));
Note: See TracChangeset for help on using the changeset viewer.