[
https://issues.apache.org/jira/browse/AVRO-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Cutting updated AVRO-83:
-----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I just committed this.
> specific generated code should optimize unions with null
> --------------------------------------------------------
>
> Key: AVRO-83
> URL: https://issues.apache.org/jira/browse/AVRO-83
> Project: Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.0.0
> Reporter: Doug Cutting
> Assignee: Doug Cutting
> Fix For: 1.0.1
>
> Attachments: AVRO-83.patch
>
>
> The Java type generated for unions is Object, but a union between type T and
> null would be better generated as just T, to avoid the need for casts.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.