Changeset 6248 in josm for trunk/src/org/openstreetmap/josm/io/MultiFetchServerObjectReader.java
- Timestamp:
- 2013-09-23T16:47:50+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/MultiFetchServerObjectReader.java
r6070 r6248 49 49 * reader.parseOsm(); 50 50 * if (!reader.getMissingPrimitives().isEmpty()) { 51 * System.out.println("There are missing primitives: " + reader.getMissingPrimitives());51 * Main.info("There are missing primitives: " + reader.getMissingPrimitives()); 52 52 * } 53 53 * if (!reader.getSkippedWays().isEmpty()) { 54 * System.out.println("There are skipped ways: " + reader.getMissingPrimitives());54 * Main.info("There are skipped ways: " + reader.getMissingPrimitives()); 55 55 * } 56 56 * </pre> … … 489 489 } catch (OsmApiException e) { 490 490 if (e.getResponseCode() == HttpURLConnection.HTTP_NOT_FOUND) { 491 System.out.println(tr("Server replied with response code 404, retrying with an individual request for each object."));491 Main.info(tr("Server replied with response code 404, retrying with an individual request for each object.")); 492 492 return singleGetIdPackage(type, pkg, progressMonitor); 493 493 } else { … … 567 567 } catch (OsmApiException e) { 568 568 if (e.getResponseCode() == HttpURLConnection.HTTP_NOT_FOUND) { 569 System.out.println(tr("Server replied with response code 404 for id {0}. Skipping.", Long.toString(id)));569 Main.info(tr("Server replied with response code 404 for id {0}. Skipping.", Long.toString(id))); 570 570 result.missingPrimitives.add(new SimplePrimitiveId(id, type)); 571 571 } else {
Note:
See TracChangeset
for help on using the changeset viewer.