403 |
|
} |
404 |
|
public final boolean exec() { |
405 |
|
CompletableFuture<Void> d; Throwable ex; |
406 |
< |
if ((d = this.dst) != null) { |
406 |
> |
if ((d = this.dst) != null && d.result == null) { |
407 |
|
try { |
408 |
|
fn.run(); |
409 |
|
ex = null; |
425 |
|
} |
426 |
|
public final boolean exec() { |
427 |
|
CompletableFuture<U> d; U u; Throwable ex; |
428 |
< |
if ((d = this.dst) != null) { |
428 |
> |
if ((d = this.dst) != null && d.result == null) { |
429 |
|
try { |
430 |
|
u = fn.get(); |
431 |
|
ex = null; |
450 |
|
} |
451 |
|
public final boolean exec() { |
452 |
|
CompletableFuture<U> d; U u; Throwable ex; |
453 |
< |
if ((d = this.dst) != null) { |
453 |
> |
if ((d = this.dst) != null && d.result == null) { |
454 |
|
try { |
455 |
|
u = fn.apply(arg); |
456 |
|
ex = null; |
477 |
|
} |
478 |
|
public final boolean exec() { |
479 |
|
CompletableFuture<V> d; V v; Throwable ex; |
480 |
< |
if ((d = this.dst) != null) { |
480 |
> |
if ((d = this.dst) != null && d.result == null) { |
481 |
|
try { |
482 |
|
v = fn.apply(arg1, arg2); |
483 |
|
ex = null; |
502 |
|
} |
503 |
|
public final boolean exec() { |
504 |
|
CompletableFuture<Void> d; Throwable ex; |
505 |
< |
if ((d = this.dst) != null) { |
505 |
> |
if ((d = this.dst) != null && d.result == null) { |
506 |
|
try { |
507 |
|
fn.accept(arg); |
508 |
|
ex = null; |
528 |
|
} |
529 |
|
public final boolean exec() { |
530 |
|
CompletableFuture<Void> d; Throwable ex; |
531 |
< |
if ((d = this.dst) != null) { |
531 |
> |
if ((d = this.dst) != null && d.result == null) { |
532 |
|
try { |
533 |
|
fn.accept(arg1, arg2); |
534 |
|
ex = null; |