You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2017/12/14 13:56:26 UTC

[jira] [Closed] (THRIFT-4136) Align is_binary() method with is_string() to simplify those checks

     [ https://issues.apache.org/jira/browse/THRIFT-4136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James E. King, III closed THRIFT-4136.
--------------------------------------

> Align is_binary() method with is_string() to simplify those checks
> ------------------------------------------------------------------
>
>                 Key: THRIFT-4136
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4136
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: Compiler (General)
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.11.0
>
>
> Similar to {{is_string()}} the {{is_binary()}} method should be virtual and implemented at {{t_type}}. This simplifies the code and reduces possibilities for making technically wrong casts.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)