提交 1d72930a 编写于 作者: oldratlee's avatar oldratlee 🔥

cast type to interface instead of implementation

上级 6a43fb90
......@@ -65,7 +65,7 @@ public class TtlForkJoinPoolHelper {
public static ForkJoinWorkerThreadFactory unwrap(@Nullable ForkJoinWorkerThreadFactory threadFactory) {
if (!isDisableInheritableForkJoinWorkerThreadFactory(threadFactory)) return threadFactory;
return ((DisableInheritableForkJoinWorkerThreadFactoryWrapper) threadFactory).unwrap();
return ((DisableInheritableForkJoinWorkerThreadFactory) threadFactory).unwrap();
}
private TtlForkJoinPoolHelper() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册