Modify

Opened 11 years ago

Closed 11 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.

Attachments (1)

first-last-node-comment.patch (1.2 KB ) - added by Daeron 11 years ago.

Download all attachments as: .zip

Change History (2)

by Daeron, 11 years ago

comment:1 by Don-vip, 11 years ago

Resolution: fixed
Status: newclosed

In 5694/josm:

fix #8394 - improve javadoc + remove deprecated debug method

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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