[ https://issues.apache.org/jira/browse/SLING-5617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oliver Lietz closed SLING-5617. ------------------------------- > 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)