You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2016/03/17 14:44:33 UTC

[jira] [Resolved] (SLING-5617) Add missing JSR305 annotations to ResourceProvider

     [ https://issues.apache.org/jira/browse/SLING-5617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus resolved SLING-5617.
------------------------------------
       Resolution: Fixed
    Fix Version/s: API 2.12.0

Fixed in [r1735425|https://svn.apache.org/r1735425].

> Add missing JSR305 annotations to ResourceProvider
> --------------------------------------------------
>
>                 Key: SLING-5617
>                 URL: https://issues.apache.org/jira/browse/SLING-5617
>             Project: Sling
>          Issue Type: Improvement
>    Affects Versions: API 2.11.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>             Fix For: API 2.12.0
>
>
> Currently the {{o.a.s.spi.resource.provider.ResourceProvider}} is lacking some JSR305 annotations regarding their return values or parameters. Those are the methods
> # getAttributeNames (may return null)
> # authenticate is supposed to never return null, but does so in the abstract class, either the implementation or the annotation must be fixed
> # getProviderContext (may return null)
> # getAttribute (may return null)
> # create (must not return null)
> # copy and move (srcAbsPath and destAbsPath are not annotated)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)