Changeset 1898 in josm for trunk/src/org/openstreetmap/josm/gui/conflict
- Timestamp:
- 2009-08-03T21:18:50+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/conflict
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/nodes/NodeListMergeModel.java
r1655 r1898 23 23 * Populates the model with the nodes in the two {@see Way}s <code>my</code> and 24 24 * <code>their</code>. 25 * 25 * 26 26 * @param my my way (i.e. the way in the local dataset) 27 27 * @param their their way (i.e. the way in the server dataset) … … 37 37 getMyEntries().clear(); 38 38 getTheirEntries().clear(); 39 for (Node n : my. nodes) {39 for (Node n : my.getNodes()) { 40 40 getMyEntries().add(n); 41 41 } 42 for (Node n : their. nodes) {42 for (Node n : their.getNodes()) { 43 43 getTheirEntries().add(n); 44 44 } … … 55 55 /** 56 56 * Builds the command to resolve conflicts in the node list of a way 57 * 57 * 58 58 * @param my my way. Must not be null. 59 59 * @param their their way. Must not be null -
trunk/src/org/openstreetmap/josm/gui/conflict/properties/PropertiesMergeModel.java
r1847 r1898 533 533 534 534 HashMap<Long,OsmPrimitive> candidates = new HashMap<Long,OsmPrimitive>(); 535 for (Node n : way. nodes) {535 for (Node n : way.getNodes()) { 536 536 if (n.id > 0 && ! candidates.values().contains(n)) { 537 537 candidates.put(n.id, n);
Note:
See TracChangeset
for help on using the changeset viewer.