You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by lg...@apache.org on 2016/07/29 02:52:44 UTC
mina-sshd git commit: [SSHD-683] (Related) Changed order of
parameters in ClientSession#createRemotePortForwardingTracker to match
startRemotePortForwarding
Repository: mina-sshd
Updated Branches:
refs/heads/master ad56f2834 -> cac64e4f9
[SSHD-683] (Related) Changed order of parameters in ClientSession#createRemotePortForwardingTracker to match startRemotePortForwarding
Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/cac64e4f
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/cac64e4f
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/cac64e4f
Branch: refs/heads/master
Commit: cac64e4f9f68dd28da6f84e3d9c648d5744dfb41
Parents: ad56f28
Author: Lyor Goldstein <ly...@gmail.com>
Authored: Fri Jul 29 05:54:09 2016 +0300
Committer: Lyor Goldstein <ly...@gmail.com>
Committed: Fri Jul 29 05:54:09 2016 +0300
----------------------------------------------------------------------
.../main/java/org/apache/sshd/client/session/ClientSession.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/cac64e4f/sshd-core/src/main/java/org/apache/sshd/client/session/ClientSession.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/client/session/ClientSession.java b/sshd-core/src/main/java/org/apache/sshd/client/session/ClientSession.java
index 0492b06..ff88df1 100644
--- a/sshd-core/src/main/java/org/apache/sshd/client/session/ClientSession.java
+++ b/sshd-core/src/main/java/org/apache/sshd/client/session/ClientSession.java
@@ -270,13 +270,13 @@ public interface ClientSession
* be used in a {@code try-with-resource} block to ensure cleanup of the
* set up forwarding.
*
- * @param local The local address
* @param remote The remote address
+ * @param local The local address
* @return The tracker instance
* @throws IOException If failed to set up the requested forwarding
* @see #startRemotePortForwarding(SshdSocketAddress, SshdSocketAddress)
*/
- default ExplicitPortForwardingTracker createRemotePortForwardingTracker(SshdSocketAddress local, SshdSocketAddress remote) throws IOException {
+ default ExplicitPortForwardingTracker createRemotePortForwardingTracker(SshdSocketAddress remote, SshdSocketAddress local) throws IOException {
return new ExplicitPortForwardingTracker(this, false, local, remote, startRemotePortForwarding(remote, local));
}