Changeset 6801 in josm for trunk/src


Ignore:
Timestamp:
2014-02-02T20:13:06+01:00 (6 years ago)
Author:
simon04
Message:

fix #9656 - Repair upload order of objects to be deleted (regression from r6776)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/APIDataSet.java

    r6776 r6801  
    237237
    238238        LinkedList<OsmPrimitive> newToDelete = new LinkedList<OsmPrimitive>();
    239         newToDelete.addAll(Utils.filteredCollection(toDelete, Node.class));
    240         newToDelete.addAll(Utils.filteredCollection(toDelete, Way.class));
    241239        graph = new RelationUploadDependencyGraph(Utils.filteredCollection(toDelete, Relation.class), false);
    242240        newToDelete.addAll(graph.computeUploadOrder());
     241        newToDelete.addAll(Utils.filteredCollection(toDelete, Way.class));
     242        newToDelete.addAll(Utils.filteredCollection(toDelete, Node.class));
    243243        toDelete = newToDelete;
    244244    }
Note: See TracChangeset for help on using the changeset viewer.