(Task<TResult> task)
| 205 | public Task<Void> makeVoid() { |
| 206 | return this.continueWithTask(new Continuation<TResult, Task<Void>>() { |
| 207 | public Task<Void> then(Task<TResult> task) throws Exception { |
| 208 | if (task.isCancelled()) { |
| 209 | return Task.cancelled(); |
| 210 | } |
| 211 | if (task.isFaulted()) { |
| 212 | return Task.forError(task.getError()); |
| 213 | } |
| 214 | return Task.forResult(null); |
| 215 | } |
| 216 | }); |
| 217 | } |
| 218 |
nothing calls this directly
no test coverage detected