Changeset 1923 in josm for trunk/src/org


Ignore:
Timestamp:
2009-08-07T22:40:17+02:00 (15 years ago)
Author:
Gubaer
Message:

Enabled CopyList again. Disabling in #3194 was a false alarm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/Way.java

    r1915 r1923  
    3939     */
    4040    public List<Node> getNodes() {
    41         //return new CopyList<Node>(nodes.toArray(new Node[nodes.size()]));
    42         // FIXME: temporary switch back to classic ArrayList due to #3194
    43         //
    44         ArrayList<Node> ret = new ArrayList<Node>();
    45         ret.addAll(nodes);
    46         return ret;
     41        return new CopyList<Node>(nodes.toArray(new Node[nodes.size()]));
    4742    }
    4843
Note: See TracChangeset for help on using the changeset viewer.