[ https://issues.apache.org/jira/browse/SSHD-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197074#comment-15197074 ]
Guillaume Nodet edited comment on SSHD-661 at 3/16/16 9:16 AM: --------------------------------------------------------------- I meant real code, the one from the test, or from the main class as pointed by Lyor. Those classes do compile and work. was (Author: gnt): I meant real code, the one from the test, or from the main class. Those classes do compile and work. > The sample code in teh JavaDoc section of org/apache/sshd/SshClient.java > generates compilation errors. > ------------------------------------------------------------------------------------------------------ > > Key: SSHD-661 > URL: https://issues.apache.org/jira/browse/SSHD-661 > Project: MINA SSHD > Issue Type: Bug > Affects Versions: 1.1.0 > Reporter: Frederic Sutter > Priority: Minor > Fix For: 1.1.0 > > > Hi, > The sample code in the JavaDoc section of org/apache/sshd/SshClient.java > (line 135) generates compilation errors. > For instance: > ClientSession session = client.connect(login, host, port).await().getSession() > ClientChannel.CLOSED > Many thanks > Frédéric -- This message was sent by Atlassian JIRA (v6.3.4#6332)