- Timestamp:
- 2014-05-28T23:41:31+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
r7005 r7184 187 187 } 188 188 if (!Param.paramsByKey.containsKey(key)) 189 throw new ProjectionConfigurationException(tr("Unk own parameter: ''{0}''.", key));189 throw new ProjectionConfigurationException(tr("Unknown parameter: ''{0}''.", key)); 190 190 if (Param.paramsByKey.get(key).hasValue && value == null) 191 191 throw new ProjectionConfigurationException(tr("Value expected for parameter ''{0}''.", key)); … … 279 279 if (datumId != null) { 280 280 Datum datum = Projections.getDatum(datumId); 281 if (datum == null) throw new ProjectionConfigurationException(tr("Unk own datum identifier: ''{0}''", datumId));281 if (datum == null) throw new ProjectionConfigurationException(tr("Unknown datum identifier: ''{0}''", datumId)); 282 282 return datum; 283 283 } … … 337 337 338 338 Proj proj = Projections.getBaseProjection(id); 339 if (proj == null) throw new ProjectionConfigurationException(tr("Unk own projection identifier: ''{0}''", id));339 if (proj == null) throw new ProjectionConfigurationException(tr("Unknown projection identifier: ''{0}''", id)); 340 340 341 341 ProjParameters projParams = new ProjParameters(); -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/AbstractProjectionChoice.java
r6889 r7184 62 62 String pref = Projections.getInit(code); 63 63 if (pref == null) 64 throw new AssertionError("Error: Unk own projection code");64 throw new AssertionError("Error: Unknown projection code"); 65 65 return new CustomProjection(getProjectionName(), code, pref, getCacheDir()); 66 66 }
Note:
See TracChangeset
for help on using the changeset viewer.