Changeset 4819 in josm for trunk


Ignore:
Timestamp:
2012-01-19T08:36:26+01:00 (13 years ago)
Author:
jttt
Message:

Fix reading of incomplete gpx files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/GpxReader.java

    r4808 r4819  
    343343            List<String> remainingElements = new ArrayList<String>(elements);
    344344            for (int i=remainingElements.size() - 1; i >= 0; i--) {
    345                 endElement(null, remainingElements.get(i), null);
     345                endElement(null, remainingElements.get(i), remainingElements.get(i));
    346346            }
    347347            endDocument();
Note: See TracChangeset for help on using the changeset viewer.