You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/12/10 21:55:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16715626#comment-16715626 ] 

ASF subversion and git services commented on AVRO-2069:
-------------------------------------------------------

Commit e65411f5cce2d58588fbb96a366560f6e6803dab in avro's branch refs/heads/master from [~dkulp]
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=e65411f ]

Squashed commit of the following:
This closes #243

commit b2a5607578652f203e117c5b80d228618dd101f1
Merge: 500c28c2 54fc3f53
Author: Daniel Kulp <da...@kulp.com>
Date:   Mon Dec 3 14:46:47 2018 -0500

    Merge branch 'master' into master

commit 500c28c212d20e40fe48b6229cfc7764631f56e8
Author: Daniil Guitelson <dg...@openwaygroup.com>
Date:   Fri Sep 1 17:37:10 2017 +0300

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

    Fix broken unit tests in TestSpecificCompilerTool after migrating to org.junit.Test

commit 35b891ebf868cea12f278641229807c1e2a35db2
Merge: c642adaf 189368ed
Author: Daniil Gitelson <da...@gmail.com>
Date:   Fri Sep 1 17:33:13 2017 +0300

    Merge pull request #1 from apache/master

    Sync up with origin repository

commit c642adaf3d29183049cd4ad2e0012b002d95d7c6
Author: Daniil Guitelson <dg...@openwaygroup.com>
Date:   Wed Aug 30 18:37:41 2017 +0300

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

    Fix broken unit tests in TestSpecificCompilerTool

commit 3414eae643517591015e3a6154c726c31f2d3095
Author: Daniil Guitelson <dg...@openwaygroup.com>
Date:   Tue Aug 29 12:13:42 2017 +0300

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