You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2015/04/14 22:17:59 UTC

[jira] [Resolved] (THRIFT-227) Byte[] in collections aren't pretty printed like regular binary fields

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

Roger Meier resolved THRIFT-227.
--------------------------------
       Resolution: Cannot Reproduce
    Fix Version/s: 0.9.3
         Assignee:     (was: Bryan Duxbury)

committed

> Byte[] in collections aren't pretty printed like regular binary fields
> ----------------------------------------------------------------------
>
>                 Key: THRIFT-227
>                 URL: https://issues.apache.org/jira/browse/THRIFT-227
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Compiler
>            Reporter: Bryan Duxbury
>            Priority: Trivial
>             Fix For: 0.9.3
>
>
> In toString, we just delegate to the toString method of our embedded collection objects, which in turn call the toString of the byte[] collection elements. This results in [B@12fa2134 instead of 01 a3 17. It'd be nice if we could figure out a way to print the collection elements the same as regular fields. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)