Ignore:
Timestamp:
2010-06-08T21:56:38+02:00 (9 years ago)
Author:
jttt
Message:

Validate tagging presets when they're added in Preferences dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java

    r2908 r3321  
    1212import org.openstreetmap.josm.tools.PrimaryDateParser;
    1313
    14 public class WayPoint extends WithAttributes implements Comparable<WayPoint>
    15 {
    16     public double time;
    17     public Color customColoring;
    18     public boolean drawLine;
    19     public int dir;
     14public class WayPoint extends WithAttributes implements Comparable<WayPoint> {
    2015
    2116    private static ThreadLocal<PrimaryDateParser> dateParser = new ThreadLocal<PrimaryDateParser>() {
     
    2419        }
    2520    };
     21
     22    public double time;
     23    public Color customColoring;
     24    public boolean drawLine;
     25    public int dir;
     26
     27    public WayPoint(LatLon ll) {
     28        coor = new CachedLatLon(ll);
     29    }
    2630
    2731    private final CachedLatLon coor;
     
    3337    public final EastNorth getEastNorth() {
    3438        return coor.getEastNorth();
    35     }
    36 
    37     public WayPoint(LatLon ll) {
    38         coor = new CachedLatLon(ll);
    3939    }
    4040
Note: See TracChangeset for help on using the changeset viewer.