[
https://issues.apache.org/jira/browse/AVRO-2639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17113998#comment-17113998
]
Hudson commented on AVRO-2639:
------------------------------
FAILURE: Integrated in Jenkins build AvroJava #883 (See
[https://builds.apache.org/job/AvroJava/883/])
[AVRO-2639] Grab unit test from #726, Rest was already done as part of (dkulp:
[https://github.com/apache/avro/commit/734ea36dfe00fb70b506b4e987f0ad8341bcad94])
* (edit)
lang/java/compiler/src/test/java/org/apache/avro/compiler/specific/TestSpecificCompiler.java
> SpecificCompiler option to generate Optionals only when nullable
> ----------------------------------------------------------------
>
> Key: AVRO-2639
> URL: https://issues.apache.org/jira/browse/AVRO-2639
> Project: Apache Avro
> Issue Type: New Feature
> Components: java
> Affects Versions: 1.9.1
> Reporter: Mike Roberts
> Priority: Minor
> Fix For: 1.10.0
>
>
> When `gettersReturnOptional` all getters return `Optional`, not just the
> getters for nullable fields.
> It would be nice to add a configuration option
> (`gettersReturnOptionalOnlyForNullable`?) that made `SpecificCompiler` do
> this. It would make the Java code more accurately reflect the underlying
> schema.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)