Ignore:
Timestamp:
2013-08-06T22:02:27+02:00 (11 years ago)
Author:
Don-vip
Message:

fix some compilation warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Geometry.java

    r6093 r6113  
    4949    public static Set<Node> addIntersections(List<Way> ways, boolean test, List<Command> cmds) {
    5050
    51         //stupid java, cannot instantiate array of generic classes..
     51        int n = ways.size();
    5252        @SuppressWarnings("unchecked")
    53         int n = ways.size();
    5453        ArrayList<Node>[] newNodes = new ArrayList[n];
    5554        BBox[] wayBounds = new BBox[n];
     
    6766        //iterate over all way pairs and introduce the intersections
    6867        Comparator<Node> coordsComparator = new NodePositionComparator();
    69         WayLoop: for (int seg1Way = 0; seg1Way < n; seg1Way ++) {
     68        for (int seg1Way = 0; seg1Way < n; seg1Way ++) {
    7069            for (int seg2Way = seg1Way; seg2Way < n; seg2Way ++) {
    7170
Note: See TracChangeset for help on using the changeset viewer.