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/13 08:56:33 UTC

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

     [ https://issues.apache.org/jira/browse/SLING-4159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus resolved SLING-4159.
------------------------------------
    Resolution: Fixed
      Assignee: Konrad Windszus

> 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
>            Assignee: Konrad Windszus
>            Priority: Minor
>             Fix For: Validation 1.0.0
>
>
> 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)