You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2015/02/10 10:02:35 UTC

[jira] [Commented] (SSHD-405) Please review AbstractClientChannel @deprecated getter methods

    [ https://issues.apache.org/jira/browse/SSHD-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313854#comment-14313854 ] 

Guillaume Nodet commented on SSHD-405:
--------------------------------------

Some code was using getOut() instead of getInvertedIn(), and during the switch, the methods get deprecated.
After a closer review, this mostly affects ChannelDirectTcpip, so i'll move the @Deprecated annotations to this class instead.

> Please review AbstractClientChannel @deprecated getter methods
> --------------------------------------------------------------
>
>                 Key: SSHD-405
>                 URL: https://issues.apache.org/jira/browse/SSHD-405
>             Project: MINA SSHD
>          Issue Type: Wish
>         Environment: Karaf 3.0.2
>            Reporter: Martin Lichtin
>
> Unfortunately the mailing list was quiet on this, however I'm still baffled
> as to why the getter methods are marked as deprecated.
> http://www.mail-archive.com/users@mina.apache.org/msg05914.html
> To put it simply, if I create an output stream (to save the 'stdout' of a command) and call setOut(stdOut), why should I not be able to call getOut()?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)