You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ismaël Mejía (Jira)" <ji...@apache.org> on 2022/02/24 12:27:00 UTC
[jira] [Updated] (AVRO-1831) Take advantage of JSR 3.5 annotations in the generated java classes.
[ https://issues.apache.org/jira/browse/AVRO-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismaël Mejía updated AVRO-1831:
-------------------------------
Description:
it would be nice if the generated records would take advantage of:
@javax.annotation.Nullable
@javax.annotation.Nonnull
to annotate the fields that can be null...
This would have a documenting role, and more importantly allow findbugs to detect incorrect use of the fields.
was:
it would be nice if the generated records would take advantage of:
@javax.annotation.Nullable
@javax.annotation.Nonnull
to annotate the fields that can be null...
This would have a documenting role, and more importantly allow windbags to detect incorrect use of the fields.
> Take advantage of JSR 3.5 annotations in the generated java classes.
> --------------------------------------------------------------------
>
> Key: AVRO-1831
> URL: https://issues.apache.org/jira/browse/AVRO-1831
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Reporter: Zoltan Farkas
> Priority: Minor
>
> it would be nice if the generated records would take advantage of:
> @javax.annotation.Nullable
> @javax.annotation.Nonnull
> to annotate the fields that can be null...
> This would have a documenting role, and more importantly allow findbugs to detect incorrect use of the fields.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)