[
https://issues.apache.org/jira/browse/AVRO-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16167822#comment-16167822
]
Sean Busbey commented on AVRO-2069:
-----------------------------------
I like this as the approach going forward, but this will be an incompatible
change. Should we make a follow on jira to make a backwards compatible version
for 1.8/1.7 (something like getUnboxedFieldName in addition to getFieldName).
> Use primitive fields in generated getters & setters in Java code
> ----------------------------------------------------------------
>
> Key: AVRO-2069
> URL: https://issues.apache.org/jira/browse/AVRO-2069
> Project: Avro
> Issue Type: Improvement
> Affects Versions: 1.8.2
> Reporter: Daniil Gitelson
> Assignee: Daniil Gitelson
>
> Currently, for primitive types (such as int, long, etc) generated getters and
> setters return and accept java.lang.* boxed (while fields actually holds
> primitive values). This is inefeccient and produces code boilerplate.
> Changed this behaviour in pull request:
> https://github.com/apache/avro/pull/243
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)