You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by tw...@apache.org on 2025/04/09 22:31:46 UTC

(mina-sshd) 14/24: Remove unused AbstractSession.requestLock

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

twolf pushed a commit to branch dev_3.0
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git

commit e96c885eae5de04cf7d78eaeb210a3d4c75ce669
Author: Thomas Wolf <tw...@apache.org>
AuthorDate: Sat Apr 5 19:58:33 2025 +0200

    Remove unused AbstractSession.requestLock
---
 .../java/org/apache/sshd/common/session/helpers/AbstractSession.java    | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sshd-core/src/main/java/org/apache/sshd/common/session/helpers/AbstractSession.java b/sshd-core/src/main/java/org/apache/sshd/common/session/helpers/AbstractSession.java
index d3e579be0..a38a5edab 100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/session/helpers/AbstractSession.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/session/helpers/AbstractSession.java
@@ -130,8 +130,6 @@ public abstract class AbstractSession extends SessionHelper {
     protected final Collection<PortForwardingEventListener> tunnelListeners = new CopyOnWriteArraySet<>();
     protected final PortForwardingEventListener tunnelListenerProxy;
 
-    protected final Object requestLock = new Object();
-
     protected final CurrentService currentService;
 
     protected String serverVersion;