Changeset 2181 in josm for trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
- Timestamp:
- 2009-09-22T15:34:19+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r2165 r2181 391 391 public OsmPrimitive getPrimitiveById(long id, OsmPrimitiveType type) { 392 392 if (id <= 0) 393 throw new IllegalArgumentException(tr(" parameter {0} > 0 required. Got {1}.", "id", id));393 throw new IllegalArgumentException(tr("Parameter ''{0}'' > 0 expected. Got ''{1}''.", "id", id)); 394 394 if (id <= 0) 395 throw new IllegalArgumentException(tr(" parameter ''{0}'' must not be null", "type"));395 throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "type")); 396 396 Collection<? extends OsmPrimitive> primitives = null; 397 397 switch(type) {
Note:
See TracChangeset
for help on using the changeset viewer.