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

Comparing jsr166/src/main/java/util/concurrent/ScheduledThreadPoolExecutor.java (file contents):
Revision 1.25 by jsr166, Sun May 22 00:19:01 2005 UTC vs.
Revision 1.26 by jsr166, Mon May 23 00:52:56 2005 UTC

# Line 279 | Line 279 | public class ScheduledThreadPoolExecutor
279       *
280       * @param corePoolSize the number of threads to keep in the pool,
281       * even if they are idle.
282 <     * @throws IllegalArgumentException if corePoolSize less than or
283 <     * equal to zero
282 >     * @throws IllegalArgumentException if <tt>corePoolSize &lt;= 0</tt>
283       */
284      public ScheduledThreadPoolExecutor(int corePoolSize) {
285          super(corePoolSize, Integer.MAX_VALUE, 0, TimeUnit.NANOSECONDS,
# Line 295 | Line 294 | public class ScheduledThreadPoolExecutor
294       * even if they are idle.
295       * @param threadFactory the factory to use when the executor
296       * creates a new thread.
297 +     * @throws IllegalArgumentException if <tt>corePoolSize &lt;= 0</tt>
298       * @throws NullPointerException if threadFactory is null
299       */
300      public ScheduledThreadPoolExecutor(int corePoolSize,
# Line 311 | Line 311 | public class ScheduledThreadPoolExecutor
311       * even if they are idle.
312       * @param handler the handler to use when execution is blocked
313       * because the thread bounds and queue capacities are reached.
314 +     * @throws IllegalArgumentException if <tt>corePoolSize &lt;= 0</tt>
315       * @throws NullPointerException if handler is null
316       */
317      public ScheduledThreadPoolExecutor(int corePoolSize,
# Line 329 | Line 330 | public class ScheduledThreadPoolExecutor
330       * creates a new thread.
331       * @param handler the handler to use when execution is blocked
332       * because the thread bounds and queue capacities are reached.
333 +     * @throws IllegalArgumentException if <tt>corePoolSize &lt;= 0</tt>
334       * @throws NullPointerException if threadFactory or handler is null
335       */
336      public ScheduledThreadPoolExecutor(int corePoolSize,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines