Ignore:
Timestamp:
2015-12-05T16:09:41+01:00 (8 years ago)
Author:
Don-vip
Message:

sonar - fix some errors, mainly NPEs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/MultipolygonBuilder.java

    r8836 r9087  
    203203            while (true) {
    204204                boolean curWayReverse = prevNode == curWay.lastNode();
    205                 Node nextNode = (curWayReverse) ? curWay.firstNode() : curWay.lastNode();
     205                Node nextNode = curWayReverse ? curWay.firstNode() : curWay.lastNode();
    206206
    207207                //add cur way to the list
Note: See TracChangeset for help on using the changeset viewer.