Modify

Opened 12 years ago

Closed 12 years ago

#8394 closed defect (fixed)

[PATCH] Fix comments for Way's firstNode and lastNode methods to reflect the code

Reported by: Daeron Owned by: team
Priority: trivial Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

The firstNode(boolean respectOneway) and lastNode(boolean respectOneway) methods in org.openstreetmap.josm.data.osm.Way return the opposite end node if the parameter is true and the way is a reversed oneway, but the comment says that they return the opposite end if the parameter is true and the way is a normal oneway. Attached patch fixes the comments.

Change History (2)

by Daeron, 12 years ago

comment:1 by Don-vip, 12 years ago

Resolution: fixed
Status: newclosed

In 5694/josm:

fix #8394 - improve javadoc + remove deprecated debug method

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.