Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-227

Byte[] in collections aren't pretty printed like regular binary fields

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Cannot Reproduce
    • None
    • 0.9.3
    • Java - Compiler
    • None

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            bryanduxbury Bryan Duxbury
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment