sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r1747511 - /sling/trunk/testing/mocks/sling-mock/src/main/java/org/apache/sling/testing/mock/sling/context/SlingContextImpl.java
Date Thu, 09 Jun 2016 08:56:45 GMT
Author: kwin
Date: Thu Jun  9 08:56:45 2016
New Revision: 1747511

URL: http://svn.apache.org/viewvc?rev=1747511&view=rev
Log:
SLING-5769 reverted r1747508 since it is already exposed through getService(...)

Modified:
    sling/trunk/testing/mocks/sling-mock/src/main/java/org/apache/sling/testing/mock/sling/context/SlingContextImpl.java

Modified: sling/trunk/testing/mocks/sling-mock/src/main/java/org/apache/sling/testing/mock/sling/context/SlingContextImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/testing/mocks/sling-mock/src/main/java/org/apache/sling/testing/mock/sling/context/SlingContextImpl.java?rev=1747511&r1=1747510&r2=1747511&view=diff
==============================================================================
--- sling/trunk/testing/mocks/sling-mock/src/main/java/org/apache/sling/testing/mock/sling/context/SlingContextImpl.java
(original)
+++ sling/trunk/testing/mocks/sling-mock/src/main/java/org/apache/sling/testing/mock/sling/context/SlingContextImpl.java
Thu Jun  9 08:56:45 2016
@@ -182,16 +182,6 @@ public class SlingContextImpl extends Os
     }
 
     /**
-     * Returns a {@code ResourceResolverFactory}. All resource resolvers being created with
the returned factory need to be properly closed.
-     * In most of the cases {@link #resourceResolver()} should be used instead, because its
life cycle is managed automatically
-     * (i.e. it is automatically closed after the test). 
-     * @return Resource resolver factory
-     */
-    public final ResourceResolverFactory resourceResolverFactory() {
-        return this.resourceResolverFactory;
-    }
-
-    /**
      * Returns the singleton resource resolver bound to this context.
      * It is automatically closed after the test.
      * @return Resource resolver



Mime
View raw message