Ticket #8394: first-last-node-comment.patch

File first-last-node-comment.patch, 1.2 KB (added by Daeron, 13 years ago)
  • src/org/openstreetmap/josm/data/osm/Way.java

     
    689689
    690690    /**
    691691     * Replies the first node of this way, respecting or not its oneway state.
    692      * @param respectOneway If true and if this way is a oneway, replies the last node. Otherwise, replies the first node.
     692     * @param respectOneway If true and if this way is a reversed oneway, replies the last node. Otherwise, replies the first node.
    693693     * @return the first node of this way, according to {@code respectOneway} and its oneway state.
    694694     * @since 5199
    695695     */
     
    699699
    700700    /**
    701701     * Replies the last node of this way, respecting or not its oneway state.
    702      * @param respectOneway If true and if this way is a oneway, replies the first node. Otherwise, replies the last node.
     702     * @param respectOneway If true and if this way is a reversed oneway, replies the first node. Otherwise, replies the last node.
    703703     * @return the last node of this way, according to {@code respectOneway} and its oneway state.
    704704     * @since 5199
    705705     */