Changeset 2301 in josm for trunk/src/org/openstreetmap/josm/command
- Timestamp:
- 2009-10-24T07:30:45+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/VersionConflictResolveCommand.java
r2070 r2301 55 55 public boolean executeCommand() { 56 56 super.executeCommand(); 57 conflict.getMy().setOsmId( 58 conflict.getMy().getId(), 59 (int)Math.max(conflict.getMy().getVersion(), conflict.getTheir().getVersion()) 60 ); 57 if (!conflict.getMy().isNew()) { 58 conflict.getMy().setOsmId( 59 conflict.getMy().getId(), 60 (int)Math.max(conflict.getMy().getVersion(), conflict.getTheir().getVersion()) 61 ); 62 } 61 63 getLayer().getConflicts().remove(conflict); 62 64 rememberConflict(conflict);
Note: See TracChangeset
for help on using the changeset viewer.