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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 0.9.3
    • Component/s: Java - Compiler
    • Labels:
      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: