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

Comparing jsr166/src/main/java/util/concurrent/FutureTask.java (file contents):
Revision 1.78 by dl, Sat Jun 18 13:14:55 2011 UTC vs.
Revision 1.79 by jsr166, Sat Jun 18 14:39:07 2011 UTC

# Line 97 | Line 97 | public class FutureTask<V> implements Ru
97       * given {@code Callable}.
98       *
99       * @param  callable the callable task
100 <     * @throws NullPointerException if callable is null
100 >     * @throws NullPointerException if the callable is null
101       */
102      public FutureTask(Callable<V> callable) {
103          if (callable == null)
# Line 116 | Line 116 | public class FutureTask<V> implements Ru
116       * you don't need a particular result, consider using
117       * constructions of the form:
118       * {@code Future<?> f = new FutureTask<Void>(runnable, null)}
119 <     * @throws NullPointerException if runnable is null
119 >     * @throws NullPointerException if the runnable is null
120       */
121      public FutureTask(Runnable runnable, V result) {
122          this.callable = Executors.callable(runnable, result);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines