[ https://issues.apache.org/jira/browse/AVRO-1961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15746107#comment-15746107 ]
Clueless Joe commented on AVRO-1961: ------------------------------------ Finally I've pushed it all. The option is named pojoWithOptional, adding Optional<Foo> only for nullable fields, be it in the pojo getter/setter or in the builder. It doesn't require Java 8 to generate such pojos, but for using them Java 8 is welcome or some backport of Optional. > [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)