You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Christophe Le Saec (Jira)" <ji...@apache.org> on 2023/07/11 14:46:00 UTC

[jira] [Assigned] (AVRO-3788) generated Java code for optional getters has invalid javadoc

     [ https://issues.apache.org/jira/browse/AVRO-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christophe Le Saec reassigned AVRO-3788:
----------------------------------------

    Assignee: Christophe Le Saec

> 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
>            Assignee: Christophe Le Saec
>            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&lt;java.util.List<chargebee.items.ApplicableItem>&gt;. {code}
> see: https://github.com/davidmc24/gradle-avro-plugin/issues/234



--
This message was sent by Atlassian Jira
(v8.20.10#820010)