Changeset 13206 in josm for trunk/src/org/openstreetmap/josm/data/osm/visitor
- Timestamp:
- 2017-12-17T00:42:54+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm/visitor/paint
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r13173 r13206 1610 1610 1611 1611 // We use parallel sort here. This is only available for arrays. 1612 StyleRecord[] sorted = allStyleElems.toArray(new StyleRecord[ allStyleElems.size()]);1612 StyleRecord[] sorted = allStyleElems.toArray(new StyleRecord[0]); 1613 1613 Arrays.parallelSort(sorted, null); 1614 1614 -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/Multipolygon.java
r12881 r13206 15 15 16 16 import org.openstreetmap.josm.Main; 17 import org.openstreetmap.josm.spi.preferences.PreferenceChangeEvent;18 import org.openstreetmap.josm.spi.preferences.PreferenceChangedListener;19 17 import org.openstreetmap.josm.data.coor.EastNorth; 20 18 import org.openstreetmap.josm.data.osm.DataSet; … … 29 27 import org.openstreetmap.josm.data.projection.Projection; 30 28 import org.openstreetmap.josm.spi.preferences.Config; 29 import org.openstreetmap.josm.spi.preferences.PreferenceChangeEvent; 30 import org.openstreetmap.josm.spi.preferences.PreferenceChangedListener; 31 31 import org.openstreetmap.josm.tools.Geometry; 32 32 import org.openstreetmap.josm.tools.Geometry.AreaAndPerimeter; … … 580 580 public static Collection<JoinedWay> joinWays(Collection<Way> waysToJoin) { 581 581 final Collection<JoinedWay> result = new ArrayList<>(); 582 final Way[] joinArray = waysToJoin.toArray(new Way[ waysToJoin.size()]);582 final Way[] joinArray = waysToJoin.toArray(new Way[0]); 583 583 int left = waysToJoin.size(); 584 584 while (left > 0) {
Note:
See TracChangeset
for help on using the changeset viewer.