Ignore:
Timestamp:
2016-10-30T00:24:24+02:00 (7 years ago)
Author:
Don-vip
Message:

fix warnings caused by r11147

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java

    r11148 r11190  
    14551455
    14561456        MapViewPoint lastPoint = null;
    1457         double wayLength = 0;
    14581457        Iterator<MapViewPoint> it = new OffsetIterator(wayNodes, offset);
    14591458        boolean initialMoveToNeeded = true;
     
    14751474                    ArrowPaintHelper drawHelper = new ArrowPaintHelper(PHI, 10 + line.getLineWidth());
    14761475                    drawHelper.paintArrowAt(orientationArrows, p2, p1);
    1477                 }
    1478                 if (showOneway) {
    1479                     final double segmentLength = p1.distanceToInView(p2);
    1480                     if (segmentLength != 0) {
    1481                     }
    1482                     wayLength += segmentLength;
    14831476                }
    14841477            }
Note: See TracChangeset for help on using the changeset viewer.