Changeset 2990 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetContentTableModel.java
- Timestamp:
- 2010-02-15T09:03:57+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetContentTableModel.java
r2711 r2990 136 136 */ 137 137 static private class ChangesetContentEntry implements ChangesetDataSetEntry{ 138 private ChangesetModificationType modificationType;139 private HistoryOsmPrimitive primitive;138 private final ChangesetModificationType modificationType; 139 private final HistoryOsmPrimitive primitive; 140 140 141 141 public ChangesetContentEntry(ChangesetModificationType modificationType, HistoryOsmPrimitive primitive) { … … 145 145 146 146 public ChangesetContentEntry(ChangesetDataSetEntry entry) { 147 this.modificationType = entry.getModificationType(); 148 this.primitive = entry.getPrimitive(); 147 this(entry.getModificationType(), entry.getPrimitive()); 149 148 } 150 149 … … 152 151 return modificationType; 153 152 } 154 public void setModificationType(ChangesetModificationType modificationType) {155 this.modificationType = modificationType;156 }157 153 public HistoryOsmPrimitive getPrimitive() { 158 154 return primitive; 159 155 } 160 public void setPrimitive(HistoryOsmPrimitive primitive) {161 this.primitive = primitive;162 }163 156 } 164 157 }
Note:
See TracChangeset
for help on using the changeset viewer.