Ignore:
Timestamp:
2010-11-02T23:31:59+01:00 (14 years ago)
Author:
oliverw
Message:

Removed RT exception from paint routine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/ElevationProfile/src/org/openstreetmap/josm/plugins/elevation/gui/ElevationProfileLayer.java

    r23976 r24036  
    162162                        for (WayPoint wpt : profile.getWayPoints()) {
    163163                                int ele = (int) WayPointHelper.getElevation(wpt);
    164                                
    165                                 if (wpt == null) {
    166                                         throw new RuntimeException("WPT must not be null, profile " + profile);
    167                                 }
    168164
    169165                                if (lastWpt != null) {
Note: See TracChangeset for help on using the changeset viewer.