mirror of https://github.com/apache/lucene.git
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…
Reference in New Issue