Ignore:
Timestamp:
2023-08-15T18:00:16+02:00 (3 years ago)
Author:
stoecker
Message:

code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsData.java

    r36117 r36120  
    44import static org.openstreetmap.josm.tools.I18n.tr;
    55
    6 import java.awt.Point;
    76import java.text.DecimalFormat;
    87
     
    1413import org.openstreetmap.josm.data.osm.IWay;
    1514import org.openstreetmap.josm.data.osm.Node;
    16 import org.openstreetmap.josm.data.osm.OsmPrimitive;
    1715import org.openstreetmap.josm.data.osm.Way;
    1816import org.openstreetmap.josm.data.osm.WaySegment;
    1917import org.openstreetmap.josm.gui.MainApplication;
    20 import org.openstreetmap.josm.gui.MapFrame;
    2118import org.openstreetmap.josm.spi.preferences.Config;
    2219import org.openstreetmap.josm.tools.Geometry;
     
    3330    private float epx, epy;
    3431    private String wayString;
    35     private WayPoint wp;
     32    private WayPoint waypoint;
    3633    private static final DecimalFormat offsetFormat = new DecimalFormat("0.00");
    3734
     
    5754     */
    5855    public WayPoint getWaypoint() {
    59         return this.wp;
     56        return this.waypoint;
    6057    }
    6158
    6259    /**
    6360     * Set the waypoint to transfer additional data form NMEA input
    64      * @param wp waypoint to set
    65      */
    66     public void setWaypoint(WayPoint wp) {
    67         this.wp = wp;
     61     * @param waypoint waypoint to set
     62     */
     63    public void setWaypoint(WayPoint waypoint) {
     64        this.waypoint = waypoint;
    6865    }
    6966
     
    186183                     protected void decorateNameWithId(StringBuilder name, IPrimitive primitive) {
    187184                     }
     185
    188186                     @Override
    189187                     protected void decorateNameWithNodes(StringBuilder name, IWay way) {
Note: See TracChangeset for help on using the changeset viewer.