Changeset 4639 in josm for trunk/src/org


Ignore:
Timestamp:
2011-12-06T21:05:37+01:00 (9 years ago)
Author:
Don-vip
Message:

see #7110 and #6987 - Create a new ArrayList to hold Nodes in PolyData

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/Multipolygon.java

    r4631 r4639  
    202202        private PolyData(List<Node> nodes, boolean selected, Collection<Long> wayIds) {
    203203            this.wayIds = Collections.unmodifiableCollection(wayIds);
    204             this.nodes = nodes;
     204            this.nodes = new ArrayList<Node>(nodes);
    205205            this.selected = selected;
    206206            this.inners = new ArrayList<Multipolygon.PolyData>();
Note: See TracChangeset for help on using the changeset viewer.