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 2023/02/14 12:30:39 UTC

[tomcat] branch main updated: Fix logic

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

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


The following commit(s) were added to refs/heads/main by this push:
     new b70f10d89d Fix logic
b70f10d89d is described below

commit b70f10d89da0459227c1426712e5d57313173f84
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Feb 14 12:30:31 2023 +0000

    Fix logic
---
 .../loom/src/main/java/org/apache/tomcat/util/net/BioLoomEndpoint.java  | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/loom/src/main/java/org/apache/tomcat/util/net/BioLoomEndpoint.java b/modules/loom/src/main/java/org/apache/tomcat/util/net/BioLoomEndpoint.java
index 3047253a4c..57b5b515c0 100644
--- a/modules/loom/src/main/java/org/apache/tomcat/util/net/BioLoomEndpoint.java
+++ b/modules/loom/src/main/java/org/apache/tomcat/util/net/BioLoomEndpoint.java
@@ -133,8 +133,6 @@ public class BioLoomEndpoint extends AbstractEndpoint<Socket, Socket> {
 
     @Override
     protected void doCloseServerSocket() throws IOException {
-        ServerSocket serverSocket = this.serverSocket;
-
         if (serverSocket != null) {
             serverSocket.close();
             serverSocket = null;


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