- Timestamp:
- 2016-01-16T15:31:12+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/MultipolygonBuilder.java
r9480 r9487 381 381 final Collection<ForkJoinTask<List<PolygonLevel>>> tasks = new ArrayList<>(); 382 382 for (int fromIndex = from; fromIndex < to; fromIndex += directExecutionTaskSize) { 383 tasks.add(new Worker(input, fromIndex, Math.min(fromIndex + directExecutionTaskSize, to), new ArrayList<PolygonLevel>(), directExecutionTaskSize)); 383 tasks.add(new Worker(input, fromIndex, Math.min(fromIndex + directExecutionTaskSize, to), 384 new ArrayList<PolygonLevel>(), directExecutionTaskSize)); 384 385 } 385 386 for (ForkJoinTask<List<PolygonLevel>> task : ForkJoinTask.invokeAll(tasks)) {
Note:
See TracChangeset
for help on using the changeset viewer.