Changeset 8291 in josm for trunk/src/org/openstreetmap/josm/data/osm/ChangesetDataSet.java
- Timestamp:
- 2015-04-29T01:44:01+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/ChangesetDataSet.java
r7005 r8291 6 6 import java.util.Iterator; 7 7 import java.util.Map; 8 import java.util.Map.Entry; 8 9 import java.util.Set; 9 import java.util.Map.Entry;10 10 11 11 import org.openstreetmap.josm.data.osm.history.HistoryOsmPrimitive; … … 36 36 * @param primitive the primitive. Must not be null. 37 37 * @param cmt the modification type. Must not be null. 38 * @throws IllegalArgumentException thrownif primitive is null39 * @throws IllegalArgumentException thrownif cmt is null38 * @throws IllegalArgumentException if primitive is null 39 * @throws IllegalArgumentException if cmt is null 40 40 */ 41 public void put(HistoryOsmPrimitive primitive, ChangesetModificationType cmt) throws IllegalArgumentException{41 public void put(HistoryOsmPrimitive primitive, ChangesetModificationType cmt) { 42 42 CheckParameterUtil.ensureParameterNotNull(primitive,"primitive"); 43 43 CheckParameterUtil.ensureParameterNotNull(cmt,"cmt"); … … 112 112 * @param cmt the modification type. Must not be null. 113 113 * @return the set of primitives 114 * @throws IllegalArgumentException thrownif cmt is null114 * @throws IllegalArgumentException if cmt is null 115 115 */ 116 public Set<HistoryOsmPrimitive> getPrimitivesByModificationType(ChangesetModificationType cmt) throws IllegalArgumentException{116 public Set<HistoryOsmPrimitive> getPrimitivesByModificationType(ChangesetModificationType cmt) { 117 117 CheckParameterUtil.ensureParameterNotNull(cmt,"cmt"); 118 118 HashSet<HistoryOsmPrimitive> ret = new HashSet<>();
Note:
See TracChangeset
for help on using the changeset viewer.