Author: cziegeler
Date: Thu Oct 13 06:45:48 2016
New Revision: 1764604

URL: http://svn.apache.org/viewvc?rev=1764604&view=rev
Log:
SLING-5239 : Remove loginAdministrative() usage from org.apache.sling.rewriter

Modified:
    
sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java

Modified: 
sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java?rev=1764604&r1=1764603&r2=1764604&view=diff
==============================================================================
--- 
sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java
 (original)
+++ 
sling/trunk/contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java
 Thu Oct 13 06:45:48 2016
@@ -118,9 +118,8 @@ public class ProcessorManagerImpl
         WebConsoleConfigPrinter.register(this.bundleContext, this);
     }
 
-    @SuppressWarnings("deprecation")
     private ResourceResolver createResourceResolver() throws LoginException {
-        return 
this.resourceResolverFactory.getAdministrativeResourceResolver(null);
+        return this.resourceResolverFactory.getServiceResourceResolver(null);
     }
 
     /**


Reply via email to