Ignore:
Timestamp:
2013-04-20T15:50:18+02:00 (11 years ago)
Author:
Don-vip
Message:

fix potential bugs detected by FindBugs

File:
1 edited

Legend:

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

    r5698 r5889  
    4747import org.openstreetmap.josm.tools.Shortcut;
    4848
    49 
    5049/**
    5150 * Join Areas (i.e. closed ways and multipolygons)
     
    5554    private LinkedList<Command> cmds = new LinkedList<Command>();
    5655    private int cmdsCount = 0;
    57 
    5856
    5957    /**
     
    799797
    800798            //if odd number of crossings, invert orientation
    801             if (intersectionCount % 2 == 1) {
     799            if (intersectionCount % 2 != 0) {
    802800                curWayInsideToTheRight = !curWayInsideToTheRight;
    803801            }
Note: See TracChangeset for help on using the changeset viewer.