[ 
https://issues.apache.org/jira/browse/AVRO-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniil Gitelson updated AVRO-2069:
----------------------------------
    Description: 
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

  was:
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.

I propose generating appropriate primitive types.


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