1200 |
|
if (workQueue.remove(r)) |
1201 |
|
taskList.add(r); |
1202 |
|
} |
1203 |
< |
} catch(ConcurrentModificationException ignore) { |
1203 |
> |
} catch (ConcurrentModificationException ignore) { |
1204 |
|
} |
1205 |
|
} |
1206 |
|
return taskList; |
1340 |
|
poolSize > corePoolSize && |
1341 |
|
workQueue.remainingCapacity() == 0) |
1342 |
|
it.next().interruptIfIdle(); |
1343 |
< |
} catch(SecurityException ignore) { |
1343 |
> |
} catch (SecurityException ignore) { |
1344 |
|
// Not an error; it is OK if the threads stay live |
1345 |
|
} |
1346 |
|
} |
1451 |
|
it.next().interruptIfIdle(); |
1452 |
|
--extra; |
1453 |
|
} |
1454 |
< |
} catch(SecurityException ignore) { |
1454 |
> |
} catch (SecurityException ignore) { |
1455 |
|
// Not an error; it is OK if the threads stay live |
1456 |
|
} |
1457 |
|
} |