sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sseif...@apache.org
Subject svn commit: r1628636 - /sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/sling/MockSlingHttpServletRequest.java
Date Wed, 01 Oct 2014 08:08:50 GMT
Author: sseifert
Date: Wed Oct  1 08:08:49 2014
New Revision: 1628636

URL: http://svn.apache.org/r1628636
Log:
SLING-3969 use ResourceResolver interface instead of (now deprecated) MockResourceResolver
lcass in MockSlingHttpServletRequest

Modified:
    sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/sling/MockSlingHttpServletRequest.java

Modified: sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/sling/MockSlingHttpServletRequest.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/sling/MockSlingHttpServletRequest.java?rev=1628636&r1=1628635&r2=1628636&view=diff
==============================================================================
--- sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/sling/MockSlingHttpServletRequest.java
(original)
+++ sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/sling/MockSlingHttpServletRequest.java
Wed Oct  1 08:08:49 2014
@@ -62,7 +62,7 @@ public class MockSlingHttpServletRequest
 
     private boolean secure = false;
 
-    private MockResourceResolver mockResourceResolver;
+    private ResourceResolver mockResourceResolver;
 
     private RequestProgressTracker mockRequestProgressTracker;
 
@@ -94,7 +94,7 @@ public class MockSlingHttpServletRequest
 		setMethod(null);
 	}
 
-    public void setResourceResolver(MockResourceResolver resolver) {
+    public void setResourceResolver(ResourceResolver resolver) {
         this.mockResourceResolver = resolver;
 
         // recreate request resource with the new resolver



Mime
View raw message