Changeset 2181 in josm for trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitiveType.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/OsmPrimitiveType.java
r2115 r2181 23 23 if (type.getAPIName().equals(typeName)) return type; 24 24 } 25 throw new IllegalArgumentException(tr(" parameter ''{0}'' is not a valid type name, got ''{1}''", "typeName", typeName));25 throw new IllegalArgumentException(tr("Parameter ''{0}'' is not a valid type name. Got ''{1}''.", "typeName", typeName)); 26 26 } 27 27 … … 34 34 if (cls.equals(Way.class)) return WAY; 35 35 if (cls.equals(Relation.class)) return RELATION; 36 throw new IllegalArgumentException(tr(" parameter ''{0}'' is not an acceptable class, got ''{1}''", "cls", cls.toString()));36 throw new IllegalArgumentException(tr("Parameter ''{0}'' is not an acceptable class. Got ''{1}''.", "cls", cls.toString())); 37 37 } 38 38
Note:
See TracChangeset
for help on using the changeset viewer.