Changeset 7005 in josm for trunk/src/org/openstreetmap/josm/data/gpx/ImmutableGpxTrackSegment.java
- Timestamp:
- 2014-04-26T17:39:23+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/ImmutableGpxTrackSegment.java
r6084 r7005 15 15 16 16 public ImmutableGpxTrackSegment(Collection<WayPoint> wayPoints) { 17 this.wayPoints = Collections.unmodifiableCollection(new ArrayList< WayPoint>(wayPoints));17 this.wayPoints = Collections.unmodifiableCollection(new ArrayList<>(wayPoints)); 18 18 this.bounds = calculateBounds(); 19 19 this.length = calculateLength();
Note:
See TracChangeset
for help on using the changeset viewer.