Remove outdated comment from TaskExecutor (#12993)

A previous iteration of this code used an AtomicInteger and
required this comment. The committed version uses a self-documenting
boolean and the comment is not needed.
This commit is contained in:
Andrew Ross 2024-01-10 03:35:23 -06:00 committed by GitHub
parent 4d916a754b
commit 872702d828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -107,7 +107,6 @@ public final class TaskExecutor {
}
RunnableFuture<T> createTask(Callable<T> callable) {
// -1: cancelled; 0: not yet started; 1: started
AtomicBoolean startedOrCancelled = new AtomicBoolean(false);
return new FutureTask<>(
() -> {