Changeset 2359 in josm


Ignore:
Timestamp:
2009-10-31T13:24:49+01:00 (15 years ago)
Author:
Gubaer
Message:

fixed #3822: Error on load gpx

File:
1 edited

Legend:

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

    r2342 r2359  
    101101                        states.push(currentState);
    102102                        currentState = state.ext;
    103                     } else if (qName.equals("gpx") && atts.getValue("creator").startsWith("Nokia Sports Tracker")) {
     103                    } else if (qName.equals("gpx") && atts.getValue("creator") != null && atts.getValue("creator").startsWith("Nokia Sports Tracker")) {
    104104                        nokiaSportsTrackerBug = true;
    105105                    }
Note: See TracChangeset for help on using the changeset viewer.