Changeset 12841 in josm for trunk/src/org/openstreetmap/josm/tools/Utils.java
- Timestamp:
- 2017-09-13T16:30:27+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Utils.java
r12830 r12841 1246 1246 */ 1247 1247 public static ForkJoinPool newForkJoinPool(String pref, final String nameFormat, final int threadPriority) { 1248 int noThreads = Main.pref.getInt eger(pref, Runtime.getRuntime().availableProcessors());1248 int noThreads = Main.pref.getInt(pref, Runtime.getRuntime().availableProcessors()); 1249 1249 return new ForkJoinPool(noThreads, new ForkJoinPool.ForkJoinWorkerThreadFactory() { 1250 1250 final AtomicLong count = new AtomicLong(0);
Note:
See TracChangeset
for help on using the changeset viewer.