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

Robert Munteanu commented on JCR-4301:
--------------------------------------

For Jackrabbit we only use {{javax.annotation.Nonnull}}. However, for Oak we 
use 

* {{javax.annotation.CheckForNull}}
* {{javax.annotation.Nonnegative}}
* {{javax.annotation.Nonnull}}
* {{javax.annotation.Nullable;}}

Sllng is the same, except for the {{Nonnegative}} annotation.

Do the Jetbrains annotations cover the above functionality?

> get rid of JSR 305 dependency
> -----------------------------
>
>                 Key: JCR-4301
>                 URL: https://issues.apache.org/jira/browse/JCR-4301
>             Project: Jackrabbit Content Repository
>          Issue Type: Task
>          Components: jackrabbit-api
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Major
>         Attachments: JCR-4301-2.diff, JCR-4301.diff
>
>
> We should consider getting rid of the JSR 305 dependency (see 
> <https://blog.codefx.org/java/jsr-305-java-9/>). Note that we only used the 
> annotations in a few recently changed APIs.
> Further note that we could use spotbugs as replacement for findbugs to detect 
> problems.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to