You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Carl Yeksigian (JIRA)" <ji...@apache.org> on 2013/08/22 00:07:51 UTC

[jira] [Commented] (THRIFT-1533) Make TTransport should be Closeable

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

Carl Yeksigian commented on THRIFT-1533:
----------------------------------------

This patch implements the Closeable interface for the TTransport and TServerTransport classes. It does not modify the implementations to throw the IOException as this would be a breaking change.
                
> Make TTransport should be Closeable
> -----------------------------------
>
>                 Key: THRIFT-1533
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1533
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>    Affects Versions: 1.0
>            Reporter: Yonatan Graber
>            Priority: Minor
>
> {{org.apache.thrift.transport.TTransport}} should implement the {{Closable}} interface. Doing so will allow users to perform {{IOUtils.closeQuietly(transport);}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira