[ 
https://issues.apache.org/jira/browse/AVRO-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16150536#comment-16150536
 ] 

Anna Szonyi commented on AVRO-2069:
-----------------------------------

I looked at the git blame/history and it seems that it hasn't been changed 
since the initial commit AVRO-839 and there didn't seem to be a discussion 
around this, *however* I found the duplicate of that jira AVRO-784 where it 
seems this exact discussion happened between Doug Cutting and the author and it 
seems to be in favor of the unboxed solution.

Regards,
Anna 

> 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)

Reply via email to