Skip to content

Commit

Permalink
Javadoc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jhalterman committed Jan 5, 2023
1 parent ab32c54 commit c92b594
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/dev/failsafe/ExecutionImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ synchronized ExecutionResult<R> postExecute(ExecutionResult<R> result) {
return result;
}

/** Called indorectly by users. */
/** Called indirectly by users. */
@Override
public boolean cancel() {
boolean cancelled = isCancelled();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

/**
* A {@link Scheduler} implementation that schedules delays on an internal, common ScheduledExecutorService and executes
* tasks on either a provided ExecutorService, {@link ForkJoinPool#commonPool()}, or an internal {@link ForkJoinPool}
* instance. If no {@link ExecutorService} is supplied, the {@link ForkJoinPool#commonPool()} will be used, unless the
* common pool's parallelism is 1, then an internal {@link ForkJoinPool} with parallelism of 2 will be created and
* used.
* tasks on either a provided {@link ExecutorService}, {@link ForkJoinPool#commonPool()}, or an internal
* {@link ForkJoinPool} instance. If no {@link ExecutorService} is supplied, the {@link ForkJoinPool#commonPool()} will
* be used, unless the common pool's parallelism is 1, then an internal {@link ForkJoinPool} with parallelism of 2 will
* be created and used.
* <p>
* Supports cancellation of {@link ForkJoinPool} tasks.
* Supports cancellation and interruption of {@link ForkJoinPool} tasks.
* </p>
*
* @author Jonathan Halterman
Expand Down

0 comments on commit c92b594

Please sign in to comment.