Changeset 17457 in osm for applications/editors/josm


Ignore:
Timestamp:
2009-09-04T21:37:15+02:00 (15 years ago)
Author:
guggis
Message:

small cleanup of @deprecated field access

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

Legend:

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

    r16624 r17457  
    2626                <attribute name="Plugin-Description" value="Let other applications send commands to JOSM."/>
    2727                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/RemoteControl"/>
    28                 <attribute name="Plugin-Mainversion" value="1815"/>
     28                <attribute name="Plugin-Mainversion" value="2057"/>
    2929                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3030            </manifest>
  • applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RequestProcessor.java

    r16965 r17457  
    195195                                }
    196196                            }
    197                             for (Way w : Main.main.getCurrentDataSet().ways) if (ways.contains(w.id)) newSel.add(w);
    198                             for (Node n : Main.main.getCurrentDataSet().nodes) if (nodes.contains(n.id)) newSel.add(n);
    199                             for (Relation r : Main.main.getCurrentDataSet().relations) if (relations.contains(r.id)) newSel.add(r);
     197                            for (Way w : Main.main.getCurrentDataSet().ways) if (ways.contains(w.getId())) newSel.add(w);
     198                            for (Node n : Main.main.getCurrentDataSet().nodes) if (nodes.contains(n.getId())) newSel.add(n);
     199                            for (Relation r : Main.main.getCurrentDataSet().relations) if (relations.contains(r.getId())) newSel.add(r);
    200200                            Main.main.getCurrentDataSet().setSelected(newSel);
    201201                            if (Main.pref.getBoolean("remotecontrol.permission.change-viewport", true))
Note: See TracChangeset for help on using the changeset viewer.