Skip to content

Commit ffcf5f9

Browse files
committed
Fix Javadoc errors in the CheckedCallable
1 parent 31642a2 commit ffcf5f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-integration-core/src/main/java/org/springframework/integration/util/CheckedCallable.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public interface CheckedCallable<T, E extends Throwable> {
3535
T call() throws E;
3636

3737
/**
38-
* Wrap the {@link #call()} into unchecked {@link Callable<T>}.
38+
* Wrap the {@link #call()} into unchecked {@link Callable}.
3939
* Re-throw its exception wrapped with a {@link IllegalStateException}.
40-
* @return the unchecked {@link Callable<T>}.
40+
* @return the unchecked {@link Callable}.
4141
*/
4242
default Callable<T> unchecked() {
4343
return () -> {
@@ -59,9 +59,9 @@ else if (t instanceof Error error) { // NOSONAR
5959
}
6060

6161
/**
62-
* Wrap the {@link #call()} into unchecked {@link Callable<T>}.
62+
* Wrap the {@link #call()} into unchecked {@link Callable}.
6363
* Re-throw its exception wrapped with a {@link IllegalStateException}.
64-
* @return the unchecked {@link Callable<T>}.
64+
* @return the unchecked {@link Callable}.
6565
* @deprecated since 6.5 in favor of {@link #unchecked()}.
6666
* @since 6.3.7
6767
*/

0 commit comments

Comments
 (0)