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

ASF GitHub Bot commented on AVRO-2069:
--------------------------------------

GitHub user daniilguit opened a pull request:

    https://github.com/apache/avro/pull/243

    AVRO-2069: Use primitive fields in generated getters & setters in Java code

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/daniilguit/avro master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/avro/pull/243.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #243
    
----
commit 3414eae643517591015e3a6154c726c31f2d3095
Author: Daniil Guitelson <[email protected]>
Date:   2017-08-29T09:13:42Z

    AVRO-2069: Use primitive fields in generated getters & setters in Java code

----


> 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.
> I propose generating appropriate primitive types.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to