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

Bryan Duxbury updated THRIFT-119:
---------------------------------

    Attachment: thrift-119.patch

Here's the Java version.

The most significant downside of this implementation is that if you call the 
toString overload with false (to see null optionals), this won't propagate down 
to all child thrift structs. This could be remedied, but it's a fair amount of 
additional work, because we end up needing special cases for lists, sets, and 
maps, since their toString methods don't have an overload that takes a boolean.

> Improved toString for Java Structs
> ----------------------------------
>
>                 Key: THRIFT-119
>                 URL: https://issues.apache.org/jira/browse/THRIFT-119
>             Project: Thrift
>          Issue Type: Sub-task
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>         Attachments: thrift-119.patch
>
>


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

Reply via email to