You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2013/05/06 11:51:11 UTC
svn commit: r1479508 -
/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
Author: bdelacretaz
Date: Mon May 6 09:51:10 2013
New Revision: 1479508
URL: http://svn.apache.org/r1479508
Log:
Clarify that close() can be called multiple times, as verified by ResourceResolverImplTest.testClose
Modified:
sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java?rev=1479508&r1=1479507&r2=1479508&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java (original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java Mon May 6 09:51:10 2013
@@ -494,7 +494,8 @@ public interface ResourceResolver extend
* Close this resource resolver. This method should be called by clients
* when the resource resolver is not used anymore. Once this method has been
* called, the resource resolver is considered unusable and will throw
- * exceptions if still used.
+ * exceptions if still used - with the exception of this method, which
+ * can be called several times with no ill effects.
*
* @since 2.1
*/