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:26:33 UTC

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

Konrad Windszus created SLING-5617:
--------------------------------------

             Summary: 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


Currently the {{o.a.s.spi.resource.provider.ResourceProvider}} is lacking some JSR305 annotations regarding the return values. Those are the methods
# getAttributeNames (should never 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)