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

Always close ResourceResolver in ValidationServiceImpl.searchAndStoreValidationModel

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • Validation 1.0.0
    • Validation
    • None

    Description

      Currently the resource resolver being opened in ValidationServiceImpl.searchAndStoreValidationModel is only closed if no RuntimeException is thrown. Generally resource resolvers should always be closed within a finally block.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: