mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SSHD-405) Please review AbstractClientChannel @deprecated getter methods
Date Tue, 10 Feb 2015 09:02:35 GMT

    [ 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)

Mime
View raw message