You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2017/03/26 17:54:41 UTC

[jira] [Updated] (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 ]

Jens Geyer updated THRIFT-4136:
-------------------------------
    Summary: Align is_binary() method with is_string() to simplify those checks  (was: align is_binary() method with is_string() )

> 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
>
> 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.3.15#6346)