[
https://issues.apache.org/jira/browse/THRIFT-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Duxbury updated THRIFT-116:
---------------------------------
Attachment: thrift-116-v2.patch
This version cleans up some of the duplicated code you mentioned, along with
some consolidation and cleanup around other things dealing with isset and null
fields, etc.
> Isset fields for non-primitive types unnecessary
> ------------------------------------------------
>
> Key: THRIFT-116
> URL: https://issues.apache.org/jira/browse/THRIFT-116
> Project: Thrift
> Issue Type: Sub-task
> Components: Compiler (Java)
> Reporter: Bryan Duxbury
> Assignee: Bryan Duxbury
> Priority: Minor
> Attachments: thrift-116-v2.patch, thrift-116.patch
>
>
> For fields that aren't primitives, the Isset structure doesn't need to
> contain flags for those fields. This is because it is easy to detect whether
> it was set or not just by checking whether the field's value is null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.