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

Comparing jsr166/src/main/java/util/concurrent/Executors.java (file contents):
Revision 1.48 by dl, Wed Jan 21 15:20:35 2004 UTC vs.
Revision 1.49 by dl, Mon Feb 9 00:23:55 2004 UTC

# Line 30 | Line 30 | import java.security.PrivilegedException
30   *        that sets newly created threads to a known state.
31   *   <li> Methods that create and return a {@link Callable}
32   *        out of other closure-like forms, so they can be used
33 < *        in execution methods requiring <tt>Callable</tt>
33 > *        in execution methods requiring <tt>Callable</tt>.
34   * </ul>
35   *
36   * @since 1.5
# Line 317 | Line 317 | public class Executors {
317  
318      /**
319       * Returns a {@link Callable} object that, when
320 <     * called, runs the given task and returns <tt>null</tt>
320 >     * called, runs the given task and returns <tt>null</tt>.
321       * @param task the task to run
322       * @return a callable object
323       * @throws NullPointerException if task null
# Line 330 | Line 330 | public class Executors {
330  
331      /**
332       * Returns a {@link Callable} object that, when
333 <     * called, runs the given privileged action and returns its result
333 >     * called, runs the given privileged action and returns its result.
334       * @param action the privileged action to run
335       * @return a callable object
336       * @throws NullPointerException if action null
# Line 344 | Line 344 | public class Executors {
344      /**
345       * Returns a {@link Callable} object that, when
346       * called, runs the given privileged exception action and returns
347 <     * its result
347 >     * its result.
348       * @param action the privileged exception action to run
349       * @return a callable object
350       * @throws NullPointerException if action null

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines