diff --git a/cffu-core/src/main/java/io/foldright/cffu/CompletableFutureUtils.java b/cffu-core/src/main/java/io/foldright/cffu/CompletableFutureUtils.java index fe7d6a6a..e98ed329 100644 --- a/cffu-core/src/main/java/io/foldright/cffu/CompletableFutureUtils.java +++ b/cffu-core/src/main/java/io/foldright/cffu/CompletableFutureUtils.java @@ -1645,8 +1645,7 @@ C completeOnTimeout(C cf, @Nullable T value, long timeout, TimeUnit unit) { } @SuppressWarnings("unchecked") - public static > - C hopExecutorIfAtCfDelayerThread(C cf, Executor asyncExecutor) { + private static > C hopExecutorIfAtCfDelayerThread(C cf, Executor asyncExecutor) { final CompletionStage f = (CompletionStage) cf; return (C) f.handle((v, ex) -> null).thenCompose(unused -> {