Author: cziegeler
Date: Wed Jul 13 09:36:50 2011
New Revision: 1145931

URL: http://svn.apache.org/viewvc?rev=1145931&view=rev
Log:
Remove unused variable

Modified:
    
sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/helper/SlingSessionProvider.java

Modified: 
sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/helper/SlingSessionProvider.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/helper/SlingSessionProvider.java?rev=1145931&r1=1145930&r2=1145931&view=diff
==============================================================================
--- 
sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/helper/SlingSessionProvider.java
 (original)
+++ 
sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/helper/SlingSessionProvider.java
 Wed Jul 13 09:36:50 2011
@@ -43,12 +43,6 @@ import org.apache.sling.auth.core.Authen
 public class SlingSessionProvider implements SessionProvider {
 
     /**
-     * The name of the request attribute providing the JCR session (value is
-     * "javax.jcr.Session").
-     */
-    private static final String ATTR_SESSION_NAME = Session.class.getName();
-
-    /**
      * Returns the value of the <code>javax.jcr.Session</code> request
      * attribute or <code>null</code> if the request attribute is not set. If
      * the request is not authenticated, that is the authentication type is
@@ -64,9 +58,9 @@ public class SlingSessionProvider implem
         }
 
         // otherwise return the session from the request attribute
-        ResourceResolver resourceResolver = (ResourceResolver) 
+        ResourceResolver resourceResolver = (ResourceResolver)
             
request.getAttribute(AuthenticationSupport.REQUEST_ATTRIBUTE_RESOLVER);
-        
+
         if (resourceResolver == null) {
             return null;
         }


Reply via email to