ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ThreadPoolExecutor.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ThreadPoolExecutor.java (file contents):
Revision 1.91 by jsr166, Tue Jun 20 17:13:52 2006 UTC vs.
Revision 1.92 by jsr166, Tue Jun 20 22:02:24 2006 UTC

# Line 1200 | Line 1200 | public class ThreadPoolExecutor extends
1200                      if (workQueue.remove(r))
1201                          taskList.add(r);
1202                  }
1203 <            } catch(ConcurrentModificationException ignore) {
1203 >            } catch (ConcurrentModificationException ignore) {
1204              }
1205          }
1206          return taskList;
# Line 1340 | Line 1340 | public class ThreadPoolExecutor extends
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              }
# Line 1451 | Line 1451 | public class ThreadPoolExecutor extends
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              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines