incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1479508 - /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
Date Mon, 06 May 2013 09:51:11 GMT
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
      */



Mime
View raw message