File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
org.eclipse.jgit.ssh.jsch/src/org/eclipse/jgit/transport/ssh/jsch Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 34
34
import org .eclipse .jgit .transport .URIish ;
35
35
import org .eclipse .jgit .util .io .IsolatedOutputStream ;
36
36
37
- import com .jcraft .jsch .Channel ;
38
37
import com .jcraft .jsch .ChannelExec ;
39
38
import com .jcraft .jsch .ChannelSftp ;
40
39
import com .jcraft .jsch .JSchException ;
@@ -85,22 +84,6 @@ public void disconnect() {
85
84
sock .disconnect ();
86
85
}
87
86
88
- /**
89
- * A kludge to allow {@link org.eclipse.jgit.transport.TransportSftp} to get
90
- * an Sftp channel from Jsch. Ideally, this method would be generic, which
91
- * would require implementing generic Sftp channel operations in the
92
- * RemoteSession class.
93
- *
94
- * @return a channel suitable for Sftp operations.
95
- * @throws com.jcraft.jsch.JSchException
96
- * on problems getting the channel.
97
- * @deprecated since 5.2; use {@link #getFtpChannel()} instead
98
- */
99
- @ Deprecated
100
- public Channel getSftpChannel () throws JSchException {
101
- return sock .openChannel ("sftp" ); //$NON-NLS-1$
102
- }
103
-
104
87
/**
105
88
* {@inheritDoc}
106
89
*
You can’t perform that action at this time.
0 commit comments