[
https://issues.apache.org/jira/browse/AVRO-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Samael Bate updated AVRO-3788:
------------------------------
Description:
I have a record with a field of
{code:java}
union{null, array<ApplicableItem>} applicable_items = null; {code}
I chose to enable using _Optional_ for any nullable fields and found that the
resulting source code has invalid Javadoc:
{code:java}
warning: invalid input: '<'
* Gets the value of the 'applicable_items' field as an
Optional<java.util.List<chargebee.items.ApplicableItem>>. {code}
see: https://github.com/davidmc24/gradle-avro-plugin/issues/234
> generated Java code for optional getters has invalid javadoc
> ------------------------------------------------------------
>
> Key: AVRO-3788
> URL: https://issues.apache.org/jira/browse/AVRO-3788
> Project: Apache Avro
> Issue Type: Bug
> Reporter: Samael Bate
> Priority: Major
>
> I have a record with a field of
> {code:java}
> union{null, array<ApplicableItem>} applicable_items = null; {code}
> I chose to enable using _Optional_ for any nullable fields and found that the
> resulting source code has invalid Javadoc:
>
> {code:java}
> warning: invalid input: '<'
> * Gets the value of the 'applicable_items' field as an
> Optional<java.util.List<chargebee.items.ApplicableItem>>. {code}
> see: https://github.com/davidmc24/gradle-avro-plugin/issues/234
--
This message was sent by Atlassian Jira
(v8.20.10#820010)