Changeset 9326 in josm
- Timestamp:
- 2016-01-06T00:39:35+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmReader.java
r9231 r9326 384 384 385 385 protected void parseUnknown(boolean printWarning) throws XMLStreamException { 386 if (printWarning) { 387 Main.info(tr("Undefined element ''{0}'' found in input stream. Skipping.", parser.getLocalName())); 386 final String element = parser.getLocalName(); 387 if (printWarning && ("note".equals(element) || "meta".equals(element))) { 388 // we know that Overpass API returns those elements 389 Main.debug(tr("Undefined element ''{0}'' found in input stream. Skipping.", element)); 390 } else if (printWarning) { 391 Main.info(tr("Undefined element ''{0}'' found in input stream. Skipping.", element)); 388 392 } 389 393 while (true) {
Note:
See TracChangeset
for help on using the changeset viewer.