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 2014/11/12 14:17:33 UTC

[jira] [Created] (SLING-4159) Always close ResourceResolver in ValidationServiceImpl.searchAndStoreValidationModel

Konrad Windszus created SLING-4159:
--------------------------------------

             Summary: Always close ResourceResolver in ValidationServiceImpl.searchAndStoreValidationModel
                 Key: SLING-4159
                 URL: https://issues.apache.org/jira/browse/SLING-4159
             Project: Sling
          Issue Type: Bug
          Components: Validation
            Reporter: Konrad Windszus
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)