You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:25:41 UTC

[sling-org-apache-sling-testing-sling-mock] 09/14: SLING-5769 reverted r1747508 since it is already exposed through getService(...)

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.testing.sling-mock-2.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-sling-mock.git

commit ec779507b96648820bf729ebbdf60041005b9a4f
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Jun 9 08:56:45 2016 +0000

    SLING-5769 reverted r1747508 since it is already exposed through getService(...)
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/sling-mock@1747511 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/testing/mock/sling/context/SlingContextImpl.java     | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/main/java/org/apache/sling/testing/mock/sling/context/SlingContextImpl.java b/src/main/java/org/apache/sling/testing/mock/sling/context/SlingContextImpl.java
index 8a9aedb..66d6085 100644
--- a/src/main/java/org/apache/sling/testing/mock/sling/context/SlingContextImpl.java
+++ b/src/main/java/org/apache/sling/testing/mock/sling/context/SlingContextImpl.java
@@ -182,16 +182,6 @@ public class SlingContextImpl extends OsgiContextImpl {
     }
 
     /**
-     * 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

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.