Ignore:
Timestamp:
2015-11-25T01:21:14+01:00 (11 years ago)
Author:
Don-vip
Message:

Sonar - squid:S1941 - Variables should not be declared before they are relevant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java

    r8955 r9062  
    768768    private List<WayInPolygon> markWayInsideSide(List<Way> parts, boolean isInner) {
    769769
    770         List<WayInPolygon> result = new ArrayList<>();
    771 
    772770        //prepare next map
    773771        Map<Way, Way> nextWayMap = new HashMap<>();
     
    854852        Way curWay = topWay;
    855853        boolean curWayInsideToTheRight = wayClockwise ^ isInner;
     854        List<WayInPolygon> result = new ArrayList<>();
    856855
    857856        //iterate till full circle is reached
Note: See TracChangeset for help on using the changeset viewer.