Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5617

Add missing JSR305 annotations to ResourceProvider

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • API 2.11.0
    • API 2.12.0
    • None
    • None

    Description

      Currently the o.a.s.spi.resource.provider.ResourceProvider is lacking some JSR305 annotations regarding their return values or parameters. Those are the methods

      1. getAttributeNames (may return null)
      2. authenticate is supposed to never return null, but does so in the abstract class, either the implementation or the annotation must be fixed
      3. getProviderContext (may return null)
      4. getAttribute (may return null)
      5. create (must not return null)
      6. copy and move (srcAbsPath and destAbsPath are not annotated)

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: