[ 
https://issues.apache.org/jira/browse/SLING-4159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209460#comment-14209460
 ] 

ASF GitHub Bot commented on SLING-4159:
---------------------------------------

Github user kwin closed the pull request at:

    https://github.com/apache/sling/pull/35


> 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)

Reply via email to