Ignore:
Timestamp:
2014-04-26T17:39:23+02:00 (10 years ago)
Author:
Don-vip
Message:

see #8465 - use diamond operator where applicable

File:
1 edited

Legend:

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

    r6084 r7005  
    1515
    1616    public ImmutableGpxTrackSegment(Collection<WayPoint> wayPoints) {
    17         this.wayPoints = Collections.unmodifiableCollection(new ArrayList<WayPoint>(wayPoints));
     17        this.wayPoints = Collections.unmodifiableCollection(new ArrayList<>(wayPoints));
    1818        this.bounds = calculateBounds();
    1919        this.length = calculateLength();
Note: See TracChangeset for help on using the changeset viewer.