Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-441

Environment's getResource should return null when resource not found or invalid

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 5.2-milestone-1
    • 5.1
    • Environment
    • None
    • Unit
    • N/A
    • N/A

    Description

      This is consistent with all getResource APIs in Java (ClassLoader, ServletContext, etc) which return null when a resource is not found.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: