mirror of
https://github.com/apache/lucene.git
synced 2025-03-07 00:39:21 +00:00
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:
parent
4d916a754b
commit
872702d828
@ -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<>(
|
||||
() -> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user