Changeset 20573 in osm for applications/editors
- Timestamp:
- 2010-03-21T11:30:36+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/MultipolygonTest.java
r20365 r20573 51 51 if (!jw.isClosed()) { 52 52 nonClosedWays.add(jw.getNodes()); 53 } else { 54 result.add(jw.getNodes()); 53 55 } 54 result.add(jw.getNodes());55 56 } 56 57 return result; … … 70 71 List<GeneralPath> result = new ArrayList<GeneralPath>(); 71 72 for (List<Node> way: joinedWays) { 72 if (way.size() >= 3) { 73 result.add(createPath(way)); 74 } 73 result.add(createPath(way)); 75 74 } 76 75 return result;
Note:
See TracChangeset
for help on using the changeset viewer.