Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2023-06-25 10:39:48 +02:00
commit ef1fa40790
No known key found for this signature in database
GPG Key ID: 1677D141BCF3584D
1 changed files with 3 additions and 3 deletions

View File

@ -148,14 +148,14 @@ public abstract class SelectorManager extends ContainerLifeCycle implements Dump
public int getTotalKeys()
{
int keys = 0;
for (final ManagedSelector selector : _selectors)
for (ManagedSelector selector : _selectors)
{
keys += selector.getTotalKeys();
if (selector != null)
keys += selector.getTotalKeys();
}
return keys;
}
/**
* @return the number of selectors in use
*/