Changeset 5921 in josm for trunk


Ignore:
Timestamp:
2013-05-01T03:38:53+02:00 (7 years ago)
Author:
Don-vip
Message:

fix wrong primitive id setting in osmChange download task

File:
1 edited

Legend:

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

    r5486 r5921  
    3333import org.openstreetmap.josm.io.OsmTransferException;
    3434
     35/**
     36 * Task allowing to download OsmChange data (http://wiki.openstreetmap.org/wiki/OsmChange).
     37 * @since 4530
     38 */
    3539public class DownloadOsmChangeTask extends DownloadOsmTask {
    3640
     
    177181                        data.setTimestamp(hp.getTimestamp());
    178182                        data.setKeys(hp.getTags());
    179                         data.setOsmId(hp.getChangesetId(), (int) hp.getVersion());
     183                        data.setOsmId(hp.getId(), (int) hp.getVersion());
    180184
    181185                        // Load the history data
Note: See TracChangeset for help on using the changeset viewer.