You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Bertrand Delacretaz <bd...@apache.org> on 2013/05/06 11:54:25 UTC

FYI, ResourceResolver.close() can be called multiple times

Hi,

I have clarified that in the javadocs in
http://svn.apache.org/r1479508 - it was already tested by
ResourceResolverImplTest.testClose but not 100% clear from the
javadocs.

IOW, no need to do

if(resolver.isLive()) {
  resolver.close()
}

-Bertrand