You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/09/22 13:18:27 UTC

(tomcat) branch 10.1.x updated: Add missing @Override

This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 77c71193f5 Add missing @Override
77c71193f5 is described below

commit 77c71193f570f8e0c9ea40dcbedbc6c147c6334a
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Sep 22 14:16:51 2026 +0100

    Add missing @Override
---
 java/org/apache/tomcat/util/net/NioEndpoint.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/org/apache/tomcat/util/net/NioEndpoint.java b/java/org/apache/tomcat/util/net/NioEndpoint.java
index 3bc3395e50..a623256639 100644
--- a/java/org/apache/tomcat/util/net/NioEndpoint.java
+++ b/java/org/apache/tomcat/util/net/NioEndpoint.java
@@ -346,6 +346,7 @@ public class NioEndpoint extends AbstractJsseEndpoint<NioChannel,SocketChannel>
      * @return The number of sockets currently registered with the poller (i.e. all active sockets, including the
      *             keep-alive sockets waiting for the next request to be received on the socket)
      */
+    @Override
     public int getKeepAliveCount() {
         if (poller == null) {
             return 0;


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org