Changeset 28534 in osm for applications
- Timestamp:
- 2012-08-08T21:02:45+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reverter/src/reverter/ChangesetReverter.java
r27393 r28534 241 241 switch (current.getType()) { 242 242 case NODE: 243 return new LatLon(((Node)current).getCoor()).equals(((HistoryNode)history).getCoords()); 243 LatLon currentCoor = ((Node)current).getCoor(); 244 LatLon historyCoor = ((HistoryNode)history).getCoords(); 245 return currentCoor == historyCoor || (currentCoor != null && historyCoor != null && currentCoor.equals(historyCoor)); 244 246 case WAY: 245 247 List<Node> currentNodes = ((Way)current).getNodes();
Note:
See TracChangeset
for help on using the changeset viewer.