Changeset 1730 in josm for trunk/src


Ignore:
Timestamp:
2009-07-04T20:33:36+02:00 (15 years ago)
Author:
stoecker
Message:

fixed #2811 - NPE in GeoImageLayer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/GeoImageLayer.java

    r1725 r1730  
    367367        public TimedPoint(Date time, LatLon pos) {
    368368            this.time = time;
    369             this.pos.setCoor(pos);
     369            this.pos = new CachedLatLon(pos);
    370370        }
    371371        public int compareTo(TimedPoint point) {
Note: See TracChangeset for help on using the changeset viewer.