Skip to content

Commit

Permalink
Fix Javadoc style errors in the CheckedCallable
Browse files Browse the repository at this point in the history
**Auto-cherry-pick to `6.3.x`**
  • Loading branch information
artembilan committed Dec 9, 2024
1 parent 8c22bf6 commit dd7dd09
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ public interface CheckedCallable<T, E extends Throwable> {
* Re-throw its exception wrapped with a {@link IllegalStateException}.
* @return the Runnable (by mistake).
* @deprecated since 6.3.7 in favor of {@link #uncheckedCallable()}.
* Will be restored back, but with a proper {@link Callable<T>} return type.
* Will be restored back, but with a proper {@link Callable} return type.
*/
@Deprecated
default Runnable unchecked() {
return this::uncheckedCallable;
}

/**
* Wrap the {@link #call()} into unchecked {@link Callable<T>}.
* Wrap the {@link #call()} into unchecked {@link Callable}.
* Re-throw its exception wrapped with a {@link IllegalStateException}.
* Will be replaced with a proper {@link #unchecked()} implementation in 6.5.
* @return the unchecked {@link Callable<T>}.
* @return the unchecked {@link Callable}.
* @since 6.3.7
*/
default Callable<T> uncheckedCallable() {
Expand Down

0 comments on commit dd7dd09

Please sign in to comment.