You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2018/12/10 21:55:00 UTC
[jira] [Updated] (AVRO-2069) Use primitive fields in generated
getters & setters in Java code
[ https://issues.apache.org/jira/browse/AVRO-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated AVRO-2069:
------------------------------
Resolution: Fixed
Fix Version/s: 1.9.0
Status: Resolved (was: Patch Available)
> Use primitive fields in generated getters & setters in Java code
> ----------------------------------------------------------------
>
> Key: AVRO-2069
> URL: https://issues.apache.org/jira/browse/AVRO-2069
> Project: Apache Avro
> Issue Type: Improvement
> Affects Versions: 1.8.2
> Reporter: Daniil Gitelson
> Assignee: Daniil Gitelson
> Priority: Major
> Fix For: 1.9.0
>
>
> 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)