You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/14 09:10:11 UTC
[jira] [Commented] (THRIFT-3158) TBase#deepCopy should return
T
[ https://issues.apache.org/jira/browse/THRIFT-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15005247#comment-15005247 ]
ASF GitHub Bot commented on THRIFT-3158:
----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/thrift/pull/499
> TBase<T,F>#deepCopy should return T
> -----------------------------------
>
> Key: THRIFT-3158
> URL: https://issues.apache.org/jira/browse/THRIFT-3158
> Project: Thrift
> Issue Type: Bug
> Components: Java - Library
> Affects Versions: 0.9.2
> Reporter: Roshan George
>
> This is a bit of an annoyance. Every Thrift object returns itself on being deepCopy'd, but if you use the TBase interface you can't rely on that and you're forced to cast.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)