Changeset 2734 in josm for trunk/src/org
- Timestamp:
- 2010-01-03T13:32:26+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r2641 r2734 79 79 String serverUrl = Main.pref.get("osm-server.url", "http://api.openstreetmap.org/api"); 80 80 if (serverUrl == null) 81 throw new IllegalStateException(tr("Preference ''{0}'' missing. Can ''t initialize OsmApi.", "osm-server.url"));81 throw new IllegalStateException(tr("Preference ''{0}'' missing. Cannot initialize OsmApi.", "osm-server.url")); 82 82 return getOsmApi(serverUrl); 83 83 } … … 627 627 protected void ensureValidChangeset() throws OsmTransferException { 628 628 if (changeset == null) 629 throw new OsmTransferException(tr("Current changeset is null. Can 't upload data."));629 throw new OsmTransferException(tr("Current changeset is null. Cannot upload data.")); 630 630 if (changeset.getId() <= 0) 631 631 throw new OsmTransferException(tr("ID of current changeset > 0 required. Current ID is {0}.", changeset.getId()));
Note:
See TracChangeset
for help on using the changeset viewer.