Delete obsolete javadoc warning about pendingTasks() method expensiveness (#11287)

Co-authored-by: Roman Fedorov <roman.fedorov@spikeapp.com>
This commit is contained in:
Roman Fedorov 2021-05-22 10:33:45 +03:00 committed by GitHub
parent 9747739962
commit bb800d6067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View File

@ -125,9 +125,6 @@ public final class GlobalEventExecutor extends AbstractScheduledEventExecutor im
/**
* Return the number of tasks that are pending for processing.
*
* <strong>Be aware that this operation may be expensive as it depends on the internal implementation of the
* SingleThreadEventExecutor. So use it was care!</strong>
*/
public int pendingTasks() {
return taskQueue.size();

View File

@ -329,9 +329,6 @@ public abstract class SingleThreadEventExecutor extends AbstractScheduledEventEx
/**
* Return the number of tasks that are pending for processing.
*
* <strong>Be aware that this operation may be expensive as it depends on the internal implementation of the
* SingleThreadEventExecutor. So use it with care!</strong>
*/
public int pendingTasks() {
return taskQueue.size();