Skip to content

Commit

Permalink
Minor javadoc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jhalterman committed Sep 23, 2022
1 parent 7571996 commit e617490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import dev.failsafe.ExecutionContext;

/**
* Indicates an execution was completed.
* Indicates an execution was completed or cancelled.
*
* @param <R> result type
* @author Jonathan Halterman
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/dev/failsafe/event/ExecutionEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public int getExecutionCount() {
}

/**
* Returns the time that the initial execution started, else {code null} if an execution has not started yet.
* Returns the time that the initial execution started, else {@link Optional#empty()} if an execution has not started yet.
*/
public Optional<Instant> getStartTime() {
return Optional.ofNullable(context.getStartTime());
Expand Down

0 comments on commit e617490

Please sign in to comment.