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

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

GitHub user cluelessjoe opened a pull request:

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

    Branch 1.8 - AVRO-1961 : add isUnion and isNullable on Schema class

    isUnion is needed since the class UnionSchema is private hence not 
accessible from outside code
    isNullable is needed for doing nullable schema's specific actions in 
templates
    
    both methods add value whatever the outcome of AVRO-1961 

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

    $ git pull https://github.com/cluelessjoe/avro branch-1.8

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

    https://github.com/apache/avro/pull/169.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 #169
    
----
commit f912a42ecc7dc2ac305212c23af08b99ab355afc
Author: Joseph Pachod <[email protected]>
Date:   2016-12-07T21:53:13Z

    AVRO-1961: Java: add isUnion and isNullable on Schema class

commit 185291033a915e8221f6e2e6f55809256d68082b
Author: Joseph Pachod <[email protected]>
Date:   2016-12-07T22:14:03Z

    format and clarify pre existing tests

----


> [JAVA] Generate getters that return an Optional
> -----------------------------------------------
>
>                 Key: AVRO-1961
>                 URL: https://issues.apache.org/jira/browse/AVRO-1961
>             Project: Avro
>          Issue Type: New Feature
>            Reporter: Niels Basjes
>            Assignee: Niels Basjes
>            Priority: Minor
>
> A colleague of mine indicated that having getters that return an Optional 
> (java 8 thingy) would be very useful for him.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to