# | Line 200 | Line 200 | public class FutureTask<V> implements Fu | |
---|---|---|
200 | } | |
201 | ||
202 | /** | |
203 | < | * Implements AQS base acquire to succeed if Done/cancelled |
203 | > | * Implements AQS base acquire to succeed if ran or cancelled |
204 | */ | |
205 | < | protected int tryAcquireShared(boolean b, int ignore) { |
205 | > | protected int tryAcquireShared(int ignore) { |
206 | return doIsDone()? 1 : -1; | |
207 | } | |
208 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |