Ignore:
Timestamp:
2009-12-19T10:47:49+01:00 (14 years ago)
Author:
jttt
Message:

Fixed #4161 Major slowdown in recent versions, used correct pattern for listeners realized using CopyOnWriteArrayList

File:
1 edited

Legend:

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

    r2626 r2655  
    272272                        e[GPGGA.LONGITUDE.position]
    273273                );
    274                 if(latLon==null) throw(null); // malformed
     274                if(latLon==null)
     275                    throw new NullPointerException(); // malformed
    275276
    276277                if((latLon.lat()==0.0) && (latLon.lon()==0.0)) {
Note: See TracChangeset for help on using the changeset viewer.