From 99c5e13930e19c94b75834930bc5330ceef0671a Mon Sep 17 00:00:00 2001 From: Looly Date: Tue, 23 May 2023 16:16:28 +0800 Subject: [PATCH] =?UTF-8?q?DelegatedExecutorService=20=E6=9E=84=E9=80=A0?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E8=AE=BE=E7=BD=AE=E6=88=90public?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + .../java/cn/hutool/core/thread/DelegatedExecutorService.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f0cc3e297..3b878e6e0 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ * 【core 】 FileTypeUtil.getType增加文件判断(pr#3112@Github) * 【core 】 增加CsvWriteConfig.setEndingLineBreak配置项(issue#I75K5G@Gitee) * 【core 】 增加Tailer追踪文件时文件被删除的处理情况(pr#3115@Github) +* 【core 】 DelegatedExecutorService构造方法设置成public(issue#I77LUE@Gitee) ### 🐞Bug修复 * 【core 】 修复URLUtil.decode无法解码UTF-16问题(issue#3063@Github) diff --git a/hutool-core/src/main/java/cn/hutool/core/thread/DelegatedExecutorService.java b/hutool-core/src/main/java/cn/hutool/core/thread/DelegatedExecutorService.java index 85e740b7f..04e830197 100644 --- a/hutool-core/src/main/java/cn/hutool/core/thread/DelegatedExecutorService.java +++ b/hutool-core/src/main/java/cn/hutool/core/thread/DelegatedExecutorService.java @@ -25,7 +25,7 @@ public class DelegatedExecutorService extends AbstractExecutorService { * * @param executor {@link ExecutorService} */ - DelegatedExecutorService(ExecutorService executor) { + public DelegatedExecutorService(ExecutorService executor) { Assert.notNull(executor, "executor must be not null !"); e = executor; }