diff --git a/HMCLCore/src/main/java/org/jackhuang/hmcl/task/Task.java b/HMCLCore/src/main/java/org/jackhuang/hmcl/task/Task.java index 3e2fe9e51..4f4d793b3 100644 --- a/HMCLCore/src/main/java/org/jackhuang/hmcl/task/Task.java +++ b/HMCLCore/src/main/java/org/jackhuang/hmcl/task/Task.java @@ -270,13 +270,13 @@ public abstract class Task { /** * @throws InterruptedException if current thread is interrupted - * @see Thread#interrupted + * @see Thread#isInterrupted() */ public void preExecute() throws Exception {} /** * @throws InterruptedException if current thread is interrupted - * @see Thread#interrupted + * @see Thread#isInterrupted() */ public abstract void execute() throws Exception; @@ -292,7 +292,7 @@ public abstract class Task { * {@link Task#isRelyingOnDependencies()} returns true or false. * * @throws InterruptedException if current thread is interrupted - * @see Thread#interrupted + * @see Thread#isInterrupted() * @see Task#isDependenciesSucceeded() */ public void postExecute() throws Exception {}