Looly 5 年 前
コミット
f4d357971b

+ 1 - 1
hutool-core/src/main/java/cn/hutool/core/thread/ThreadUtil.java

@@ -144,7 +144,7 @@ public class ThreadUtil {
 	 * @param isDaemon 是否守护线程。守护线程会在主线程结束后自动结束
 	 * @param isDaemon 是否守护线程。守护线程会在主线程结束后自动结束
 	 * @return 执行的方法体
 	 * @return 执行的方法体
 	 */
 	 */
-	public static Runnable execAsync(final Runnable runnable, boolean isDaemon) {
+	public static Runnable execAsync(Runnable runnable, boolean isDaemon) {
 		Thread thread = new Thread(runnable);
 		Thread thread = new Thread(runnable);
 		thread.setDaemon(isDaemon);
 		thread.setDaemon(isDaemon);
 		thread.start();
 		thread.start();