Merge pull request #19991 from tamasvajk/quality/improve-query-docs

Improve query docs for `java/java-util-concurrent-scheduledthreadpoolexecutor`
This commit is contained in:
Tamás Vajk
2025-07-07 15:02:56 +02:00
committed by GitHub

View File

@@ -1,6 +1,6 @@
## Overview
According to the Java documentation on `ScheduledThreadPoolExecutor`, it is not a good idea to set `corePoolSize` to zero, since doing so indicates the executor to keep 0 threads in its pool and the executor will serve no purpose.
According to the Java documentation on `ScheduledThreadPoolExecutor`, it is not a good idea to set `corePoolSize` to zero, since doing so instructs the executor to keep 0 threads in its pool and the executor will serve no purpose.
## Recommendation