Changeset 3034 in josm for trunk/src/org/openstreetmap/josm/data/conflict
- Timestamp:
- 2010-02-23T08:58:12+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/conflict
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/conflict/Conflict.java
r2979 r3034 21 21 private final T my; 22 22 private final T their; 23 private final boolean isMyDeleted; 23 24 24 25 public Conflict(T my, T their) { 26 this(my, their, false); 27 } 28 29 public Conflict(T my, T their, boolean isMyDeleted) { 25 30 this.my = my; 26 31 this.their = their; 32 this.isMyDeleted = isMyDeleted; 27 33 } 28 34 … … 96 102 return true; 97 103 } 104 105 /** 106 * 107 * @return True if my primitive was deleted but it has set non deleted status because it's referred by another 108 * primitive and references to deleted primitives are not allowed. 109 */ 110 public boolean isMyDeleted() { 111 return isMyDeleted; 112 } 98 113 } -
trunk/src/org/openstreetmap/josm/data/conflict/ConflictCollection.java
r2949 r3034 33 33 * </ul> 34 34 */ 35 public class ConflictCollection implements Iterable<Conflict<?>>{ 36 private final List<Conflict<?>> conflicts; 35 public class ConflictCollection implements Iterable<Conflict<? extends OsmPrimitive>>{ 36 private final List<Conflict<? extends OsmPrimitive>> conflicts; 37 37 private CopyOnWriteArrayList<IConflictListener> listeners; 38 38
Note:
See TracChangeset
for help on using the changeset viewer.