Changeset 8910 in josm for trunk/src/org/openstreetmap/josm/command/conflict
- Timestamp:
- 2015-10-19T20:25:49+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/command/conflict
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/conflict/ConflictAddCommand.java
r8510 r8910 22 22 */ 23 23 public class ConflictAddCommand extends Command { 24 private Conflict<? extends OsmPrimitive> conflict; 24 private final Conflict<? extends OsmPrimitive> conflict; 25 25 26 26 /** … … 61 61 @Override 62 62 public void undoCommand() { 63 if (!Main.map.mapView.hasLayer(getLayer())) { 63 if (Main.map != null && !Main.map.mapView.hasLayer(getLayer())) { 64 64 Main.warn(tr("Layer ''{0}'' does not exist any more. Cannot remove conflict for object ''{1}''.", 65 65 getLayer().getName(), -
trunk/src/org/openstreetmap/josm/command/conflict/ConflictResolveCommand.java
r8510 r8910 20 20 public abstract class ConflictResolveCommand extends Command { 21 21 /** the list of resolved conflicts */ 22 private ConflictCollection resolvedConflicts; 22 private final ConflictCollection resolvedConflicts; 23 23 24 24 /** -
trunk/src/org/openstreetmap/josm/command/conflict/CoordinateConflictResolveCommand.java
r8510 r8910 21 21 22 22 /** the conflict to resolve */ 23 private Conflict<? extends OsmPrimitive> conflict; 23 private final Conflict<? extends OsmPrimitive> conflict; 24 24 25 25 /** the merge decision */ -
trunk/src/org/openstreetmap/josm/command/conflict/DeletedStateConflictResolveCommand.java
r8456 r8910 21 21 22 22 /** the conflict to resolve */ 23 private Conflict<? extends OsmPrimitive> conflict; 23 private final Conflict<? extends OsmPrimitive> conflict; 24 24 25 25 /** the merge decision */ -
trunk/src/org/openstreetmap/josm/command/conflict/ModifiedConflictResolveCommand.java
r8510 r8910 22 22 23 23 /** the conflict to resolve */ 24 private Conflict<? extends OsmPrimitive> conflict; 24 private final Conflict<? extends OsmPrimitive> conflict; 25 25 26 26 /** -
trunk/src/org/openstreetmap/josm/command/conflict/TagConflictResolveCommand.java
r8509 r8910 22 22 public class TagConflictResolveCommand extends ConflictResolveCommand { 23 23 /** the conflict to resolve */ 24 private Conflict<? extends OsmPrimitive> conflict; 24 private final Conflict<? extends OsmPrimitive> conflict; 25 25 26 26 /** the list of merge decisions, represented as {@link TagMergeItem}s */ -
trunk/src/org/openstreetmap/josm/command/conflict/VersionConflictResolveCommand.java
r8510 r8910 22 22 23 23 /** the conflict to resolve */ 24 private Conflict<? extends OsmPrimitive> conflict; 24 private final Conflict<? extends OsmPrimitive> conflict; 25 25 26 26 /** -
trunk/src/org/openstreetmap/josm/command/conflict/WayNodesConflictResolverCommand.java
r8456 r8910 22 22 public class WayNodesConflictResolverCommand extends ConflictResolveCommand { 23 23 /** the conflict to resolve */ 24 private Conflict<Way> conflict; 24 private final Conflict<Way> conflict; 25 25 26 26 /** the list of merged nodes. This becomes the list of news of my way after the
Note:
See TracChangeset
for help on using the changeset viewer.