You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2008/10/15 23:18:44 UTC

[jira] Commented: (THRIFT-172) Improve printing of "binary"

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

Bryan Duxbury commented on THRIFT-172:
--------------------------------------

I like this idea. You do run the risk of printing out large byte arrays here, which probably isn't what you're going for. Maybe we could have a default upper bound of something like 128 bytes and then truncate with "..." afterward?

> Improve printing of "binary"
> ----------------------------
>
>                 Key: THRIFT-172
>                 URL: https://issues.apache.org/jira/browse/THRIFT-172
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Java)
>            Reporter: Nathan Marz
>            Priority: Minor
>
> RIght now, binary values print as "[B@d6f628)", which provides no information. It would be better if binary values printed like "'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.