Changeset 29281 in osm for applications
- Timestamp:
- 2013-02-23T19:15:17+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/seamap/SeaMap.java
r29275 r29281 391 391 case AREA: 392 392 Area area = new Area(); 393 for (ArrayList<Long> role = outers; role != null; role = inners) { 393 ArrayList<Long> role = outers; 394 while (role != null) { 394 395 while (!role.isEmpty()) { 395 396 Edge edge = edges.get(role.remove(0)); … … 416 417 } 417 418 if (role == outers) { 418 if (area.isEmpty()) { 419 role = null; 420 } else { 421 areas.put(id, area); 422 } 423 } 424 } 419 role = inners; 420 } else { 421 role = null; 422 } 423 } 424 areas.put(id, area); 425 425 break; 426 426 }
Note:
See TracChangeset
for help on using the changeset viewer.