Ignore:
Timestamp:
2015-06-03T13:43:59+02:00 (11 years ago)
Author:
Don-vip
Message:

simplify usage of Way.firstNode()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/RelationSortUtils.java

    r7937 r8460  
    3434                w.getNode(1) != null &&
    3535                w.getNode(2) != null &&
    36                 w.firstNode() == w.lastNode()) {
     36                w.isClosed()) {
    3737            /** do some simple determinant / cross pruduct test on the first 3 nodes
    3838                to see, if the roundabout goes clock wise or ccw */
Note: See TracChangeset for help on using the changeset viewer.