You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2018/07/10 15:13:00 UTC
[jira] [Comment Edited] (OAK-7511) get rid of JSR 305 dependency
[ https://issues.apache.org/jira/browse/OAK-7511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16538748#comment-16538748 ]
Julian Reschke edited comment on OAK-7511 at 7/10/18 3:12 PM:
--------------------------------------------------------------
AFAIU, the only plan that we currently have is to switch to the JetBrains annotations, as already done over in Jackrabbit (JCR-4301).
Here's my attempt to make the switch easier: https://issues.apache.org/jira/secure/attachment/12931017/convert-annotations.sh - this will convert all Java files below the current directory. WARNING: destructive! Only run on sources under version control.
The code likely will fail in some edge cases (feedback appreciated). That said, it did work fine on oak-store-document, except for the javax.annotation.Nonnegative that we won't be able to map (see https://issues.apache.org/jira/secure/attachment/12931020/example.diff).
Feedback appreciated.
was (Author: reschke):
AFAIU, the only plan that we currently have is to switch to the JetBrains annotations, as already done over in Jackrabbit (JCR-4301).
Here's my attempt to make the switch easier: https://issues.apache.org/jira/secure/attachment/12931017/convert-annotations.sh - this will convert all Java files below the current directory. WARNING: destructive! Only run on sources under version control.
The code likely will fail in some edge cases (feedback appreciated). That said, it did work fine on oak-store-document, except for the javax.annotation.Nonnegative that we won't be able to map.
Feedback appreciated.
> get rid of JSR 305 dependency
> -----------------------------
>
> Key: OAK-7511
> URL: https://issues.apache.org/jira/browse/OAK-7511
> Project: Jackrabbit Oak
> Issue Type: Task
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Major
> Attachments: convert-annotations.sh, example.diff
>
>
> We should consider getting rid of the JSR 305 dependency (see <https://blog.codefx.org/java/jsr-305-java-9/>).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)