parent
94b501acf5
commit
17888d1c54
@ -2967,9 +2967,8 @@ final class Utils {
|
||||
|
||||
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
static <T, S extends Supplier<T>> S blocking(S supplier) {
|
||||
return (S) new Supplier<T>() {
|
||||
static <T> Supplier<T> blocking(Supplier<T> supplier) {
|
||||
return new Supplier<T>() {
|
||||
volatile T asyncResult;
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
Reference in New Issue
Block a user