Ignore:
Timestamp:
2017-05-15T16:04:38+02:00 (3 years ago)
Author:
michael2402
Message:

Added missing ILatLon.java file.

File:
1 edited

Legend:

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

    r12156 r12164  
    4040    public String creator;
    4141
    42     private ArrayList<GpxTrack> privateTracks = new ArrayList<>();
    43     private ArrayList<GpxRoute> privateRoutes = new ArrayList<>();
    44     private ArrayList<WayPoint> privateWaypoints = new ArrayList<>();
     42    private final ArrayList<GpxTrack> privateTracks = new ArrayList<>();
     43    private final ArrayList<GpxRoute> privateRoutes = new ArrayList<>();
     44    private final ArrayList<WayPoint> privateWaypoints = new ArrayList<>();
    4545    private final GpxTrackChangeListener proxy = e -> fireInvalidate();
    4646
     
    580580        final int prime = 31;
    581581        int result = 1;
    582         result = prime * result + ((dataSources == null) ? 0 : dataSources.hashCode());
    583         result = prime * result + ((routes == null) ? 0 : routes.hashCode());
    584         result = prime * result + ((tracks == null) ? 0 : tracks.hashCode());
    585         result = prime * result + ((waypoints == null) ? 0 : waypoints.hashCode());
     582        result = prime * result + dataSources.hashCode();
     583        result = prime * result + privateRoutes.hashCode();
     584        result = prime * result + privateTracks.hashCode();
     585        result = prime * result + privateWaypoints.hashCode();
    586586        return result;
    587587    }
     
    601601        } else if (!dataSources.equals(other.dataSources))
    602602            return false;
    603         if (routes == null) {
    604             if (other.routes != null)
     603        if (privateRoutes == null) {
     604            if (other.privateRoutes != null)
    605605                return false;
    606         } else if (!routes.equals(other.routes))
     606        } else if (!privateRoutes.equals(other.privateRoutes))
    607607            return false;
    608         if (tracks == null) {
    609             if (other.tracks != null)
     608        if (privateTracks == null) {
     609            if (other.privateTracks != null)
    610610                return false;
    611         } else if (!tracks.equals(other.tracks))
     611        } else if (!privateTracks.equals(other.privateTracks))
    612612            return false;
    613         if (waypoints == null) {
    614             if (other.waypoints != null)
     613        if (privateWaypoints == null) {
     614            if (other.privateWaypoints != null)
    615615                return false;
    616         } else if (!waypoints.equals(other.waypoints))
     616        } else if (!privateWaypoints.equals(other.privateWaypoints))
    617617            return false;
    618618        return true;
Note: See TracChangeset for help on using the changeset viewer.