Changeset 12713 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2017-09-03T12:32:11+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmServerBackreferenceReader.java
r10378 r12713 52 52 */ 53 53 public OsmServerBackreferenceReader(OsmPrimitive primitive) { 54 CheckParameterUtil.ensure ValidPrimitiveId(primitive, "primitive");54 CheckParameterUtil.ensure(primitive, "primitive", "id > 0", prim -> prim.getUniqueId() > 0); 55 55 this.id = primitive.getId(); 56 56 this.primitiveType = OsmPrimitiveType.from(primitive); -
trunk/src/org/openstreetmap/josm/io/OsmServerObjectReader.java
r10212 r12713 96 96 97 97 protected OsmServerObjectReader(PrimitiveId id, boolean full, int version) { 98 CheckParameterUtil.ensure ValidPrimitiveId(id, "id");98 CheckParameterUtil.ensure(id, "id", "id > 0", pid -> pid.getUniqueId() > 0); 99 99 this.id = id; 100 100 this.full = full;
Note:
See TracChangeset
for help on using the changeset viewer.