You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the CheckedCallable.unchecked() returns Runnable instead of Callable<T> and its implementation does not return value from the target call() invocation.
Apparently this is a copy/paste artifact from the CheckedRunnable.
To avoid breaking changes, we are going to introduce another method and deprecate this one.
Will be removed in the next 6.5.x version.
The text was updated successfully, but these errors were encountered:
Fixes: #9702
Issue link: #9702
The current `CheckedCallable.unchecked()` returns `Runnable`, which is not an expectation.
* Deprecate `CheckedCallable.unchecked()` in favor of newly introduced `CheckedCallable.uncheckedCallable()`.
We cannot call it `unchecked()` as well, since `Callable` after erasure becomes similar to class signature as `Runnable`.
(cherry picked from commit 8c22bf6)
Currently the
CheckedCallable.unchecked()
returnsRunnable
instead ofCallable<T>
and its implementation does not return value from the targetcall()
invocation.Apparently this is a copy/paste artifact from the
CheckedRunnable
.To avoid breaking changes, we are going to introduce another method and deprecate this one.
Will be removed in the next
6.5.x
version.The text was updated successfully, but these errors were encountered: