Looly 5 years ago
parent
commit
f4d357971b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hutool-core/src/main/java/cn/hutool/core/thread/ThreadUtil.java

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

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