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

Clueless Joe commented on AVRO-1961:
------------------------------------

Furthermore, I didn't find any way in the current tests to generate some pojos 
to make sure they fit what I expect. How should I do this ?

Anyway, the above patch does the following: the getter is Optional<Foo> 
getFoo() only when foo is nullable and gettersReturnOptional is set to true.

What do you think of it ?

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