Changeset 30737 in osm for applications/editors/josm/plugins/osmarender/src/org
- Timestamp:
- 2014-10-18T23:07:52+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java
r29854 r30737 80 80 81 81 // Write nodes, make list of ways and relations 82 Set<OsmPrimitive> parents = new HashSet< OsmPrimitive>();82 Set<OsmPrimitive> parents = new HashSet<>(); 83 83 for (Node n : ds.getNodes()) { 84 84 if (n.isUsable() && n.getCoor() != null && n.getCoor().isWithin(b)) { … … 89 89 90 90 // I'm not sure why (if) is this usefull 91 for (OsmPrimitive p : new HashSet< OsmPrimitive>(parents)) {91 for (OsmPrimitive p : new HashSet<>(parents)) { 92 92 if (p instanceof Way) { 93 93 for (Node n : ((Way) p).getNodes()) {
Note:
See TracChangeset
for help on using the changeset viewer.