[ https://issues.apache.org/jira/browse/AVRO-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16409170#comment-16409170 ]
ASF GitHub Bot commented on AVRO-2069: -------------------------------------- scottcarey commented on issue #243: AVRO-2069: Use primitive fields in generated getters & setters in Java code URL: https://github.com/apache/avro/pull/243#issuecomment-375204378 This can be an option at generation time for those that don't want to break compatibility (defaulting to the old way prior to 1.9). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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 > Priority: Major > > 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 (v7.6.3#76005)