Fix Javadoc errors in the CheckedCallable
This commit is contained in:
@@ -35,9 +35,9 @@ public interface CheckedCallable<T, E extends Throwable> {
|
||||
T call() throws E;
|
||||
|
||||
/**
|
||||
* 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}.
|
||||
* @return the unchecked {@link Callable<T>}.
|
||||
* @return the unchecked {@link Callable}.
|
||||
*/
|
||||
default Callable<T> unchecked() {
|
||||
return () -> {
|
||||
@@ -59,9 +59,9 @@ public interface CheckedCallable<T, E extends Throwable> {
|
||||
}
|
||||
|
||||
/**
|
||||
* 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}.
|
||||
* @return the unchecked {@link Callable<T>}.
|
||||
* @return the unchecked {@link Callable}.
|
||||
* @deprecated since 6.5 in favor of {@link #unchecked()}.
|
||||
* @since 6.3.7
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user