jdk/src/share/classes/java/util/concurrent/ExecutorService.java
changeset 4110 ac033ba6ede4
parent 61 5691b03db1ea
child 5506 202f599c92aa
--- a/jdk/src/share/classes/java/util/concurrent/ExecutorService.java	Fri Oct 30 10:54:50 2009 -0700
+++ b/jdk/src/share/classes/java/util/concurrent/ExecutorService.java	Mon Nov 02 17:25:38 2009 -0800
@@ -332,8 +332,8 @@
      * @param tasks the collection of tasks
      * @return the result returned by one of the tasks
      * @throws InterruptedException if interrupted while waiting
-     * @throws NullPointerException if tasks or any of its elements
-     *         are <tt>null</tt>
+     * @throws NullPointerException if tasks or any element task
+     *         subject to execution is <tt>null</tt>
      * @throws IllegalArgumentException if tasks is empty
      * @throws ExecutionException if no task successfully completes
      * @throws RejectedExecutionException if tasks cannot be scheduled
@@ -356,8 +356,8 @@
      * @param unit the time unit of the timeout argument
      * @return the result returned by one of the tasks.
      * @throws InterruptedException if interrupted while waiting
-     * @throws NullPointerException if tasks, any of its elements, or
-     *         unit are <tt>null</tt>
+     * @throws NullPointerException if tasks, or unit, or any element
+     *         task subject to execution is <tt>null</tt>
      * @throws TimeoutException if the given timeout elapses before
      *         any task successfully completes
      * @throws ExecutionException if no task successfully completes