[ 
https://issues.apache.org/jira/browse/AVRO-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17497360#comment-17497360
 ] 

Ryan Skraba commented on AVRO-1831:
-----------------------------------

I see other Apache projects using this library for annotations: 
[https://github.com/apache/flink/blob/0b9f8956a1452a8b1259257af926eac7ad9e3bec/pom.xml#L437]
  Perhaps it's sufficient to shade it, set it as provided and ensure that the 
classes aren't present in any artifacts.

(As well, as you point out: the BSD license is compatible with the Apache 2 
license.  I don't know the history of this change.)  [~iemejia] Do you have any 
insight?

> 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)

Reply via email to