diff --git a/spring-integration-core/src/main/java/org/springframework/integration/util/CheckedCallable.java b/spring-integration-core/src/main/java/org/springframework/integration/util/CheckedCallable.java index d657559a32..5e7e791a21 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/util/CheckedCallable.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/util/CheckedCallable.java @@ -35,9 +35,9 @@ public interface CheckedCallable { T call() throws E; /** - * Wrap the {@link #call()} into unchecked {@link Callable}. + * Wrap the {@link #call()} into unchecked {@link Callable}. * Re-throw its exception wrapped with a {@link IllegalStateException}. - * @return the unchecked {@link Callable}. + * @return the unchecked {@link Callable}. */ default Callable unchecked() { return () -> { @@ -59,9 +59,9 @@ public interface CheckedCallable { } /** - * Wrap the {@link #call()} into unchecked {@link Callable}. + * Wrap the {@link #call()} into unchecked {@link Callable}. * Re-throw its exception wrapped with a {@link IllegalStateException}. - * @return the unchecked {@link Callable}. + * @return the unchecked {@link Callable}. * @deprecated since 6.5 in favor of {@link #unchecked()}. * @since 6.3.7 */