Modify

Opened 9 years ago

Closed 9 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 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Daeron

comment:1 Changed 9 years ago by Don-vip

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.