You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/07/31 16:46:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17749279#comment-17749279 ] 

ASF subversion and git services commented on AVRO-3788:
-------------------------------------------------------

Commit 23a9cc0ed9f1ebf169ac0897d2456e8f769e0f54 in avro's branch refs/heads/master from Christophe Le Saec
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=23a9cc0ed ]

AVRO-3788: escape 'code extracts' in Javadoc


> 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
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)