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

rombert pushed a commit to annotated tag org.apache.sling.jcr.webdav-2.1.2
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-webdav.git

commit 7d00e51c4f1ec620d2d186b2b7859cc22ceeb47c
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Wed Jul 13 09:36:50 2011 +0000

    Remove unused variable
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/webdav@1145931 
13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/jcr/webdav/impl/helper/SlingSessionProvider.java     | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/jcr/webdav/impl/helper/SlingSessionProvider.java
 
b/src/main/java/org/apache/sling/jcr/webdav/impl/helper/SlingSessionProvider.java
index aacefa0..c2c8558 100644
--- 
a/src/main/java/org/apache/sling/jcr/webdav/impl/helper/SlingSessionProvider.java
+++ 
b/src/main/java/org/apache/sling/jcr/webdav/impl/helper/SlingSessionProvider.java
@@ -43,12 +43,6 @@ import org.apache.sling.auth.core.AuthenticationSupport;
 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 implements SessionProvider {
         }
 
         // 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;
         }

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to