[ https://issues.apache.org/jira/browse/SSHD-910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Goldstein Lyor resolved SSHD-910. --------------------------------- Resolution: Fixed Fix Version/s: 2.3.0 > 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 > Assignee: Goldstein Lyor > Priority: Minor > Fix For: 2.3.0 > > > 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)