[
https://issues.apache.org/jira/browse/AVRO-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17496313#comment-17496313
]
David Schneiderbauer commented on AVRO-1831:
--------------------------------------------
I would love to create a PR for this, but need to clarify some things upfront:
In https://issues.apache.org/jira/browse/AVRO-2311 com.google.code.findbugs has
been removed due to licensing issues.
However according to
[https://github.com/findbugsproject/findbugs/blob/master/findbugs/licenses/LICENSE-jsr305.txt]
findbugs is under BSD license.
Would it be ok to readd it and adjust the enforcer plugin, since this one is
blocking the dependency at the moment.
> 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 windbags to
> detect incorrect use of the fields.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)