Ignore:
Timestamp:
2018-06-10T21:05:01+02:00 (6 years ago)
Author:
Don-vip
Message:

add IWay.setNodes()

File:
1 edited

Legend:

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

    r13764 r13907  
    7171    }
    7272
     73    @Override
     74    public void setNodes(List<NodeData> nodes) {
     75        throw new UnsupportedOperationException("Use setNodeIds(List) instead");
     76    }
     77
    7378    /**
    7479     * Sets the nodes array
    7580     * @param nodes The nodes this way consists of
     81     * @since 13907
    7682     */
    77     public void setNodes(List<Long> nodes) {
     83    public void setNodeIds(List<Long> nodes) {
    7884        this.nodes = new ArrayList<>(nodes);
    7985    }
Note: See TracChangeset for help on using the changeset viewer.