[
https://issues.apache.org/jira/browse/SSHD-910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Goldstein Lyor updated SSHD-910:
--------------------------------
Priority: Minor (was: Major)
> JavaDoc example of SshClient not working
> ----------------------------------------
>
> Key: SSHD-910
> URL: https://issues.apache.org/jira/browse/SSHD-910
> Project: MINA SSHD
> Issue Type: Bug
> Reporter: Udo Walker
> Priority: Minor
>
> The given code example in the official Javadoc of the class SshClient is not
> working: There is a compile error in this line:
>
> try(ClientSession session = client.connect(login, host,
> port).await().getSession()) {
> The method await() returns a boolean so that the call getSession() is not
> correct.
> The offical page is:
> [https://mina.apache.org/sshd-project/apidocs/org/apache/sshd/client/SshClient.html]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)