Changeset 7022 in josm for trunk/src/org/openstreetmap/josm/data/osm/visitor/paint
- Timestamp:
- 2014-04-29T02:07:27+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/WireframeMapRenderer.java
r7005 r7022 12 12 import java.awt.geom.GeneralPath; 13 13 import java.util.ArrayList; 14 import java.util.Arrays;15 14 import java.util.Iterator; 16 15 import java.util.List; … … 185 184 186 185 // Display highlighted ways after the other ones (fix #8276) 187 for (List<Way> specialWays : Arrays.asList(new List[]{untaggedWays, highlightedWays})) {188 for (final Way way : specialWays){189 way.accept(this);190 }191 specialWays.clear();192 displaySegments();193 }186 List<Way> specialWays = new ArrayList<>(untaggedWays); 187 specialWays.addAll(highlightedWays); 188 for (final Way way : specialWays){ 189 way.accept(this); 190 } 191 specialWays.clear(); 192 displaySegments(); 194 193 195 194 for (final OsmPrimitive osm : data.getSelected()) {
Note:
See TracChangeset
for help on using the changeset viewer.