incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r613129 - /incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java
Date Fri, 18 Jan 2008 10:51:36 GMT
Author: bdelacretaz
Date: Fri Jan 18 02:51:34 2008
New Revision: 613129

URL: http://svn.apache.org/viewvc?rev=613129&view=rev
Log:
SESSION constant comes from CoreConstants now

Modified:
    incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java

Modified: incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java?rev=613129&r1=613128&r2=613129&view=diff
==============================================================================
--- incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java
(original)
+++ incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java
Fri Jan 18 02:51:34 2008
@@ -37,7 +37,7 @@
 import org.apache.sling.api.resource.Resource;
 import org.apache.sling.api.servlets.SlingAllMethodsServlet;
 import org.apache.sling.api.wrappers.SlingRequestPaths;
-import org.apache.sling.core.impl.SlingHttpContext;
+import org.apache.sling.core.CoreConstants;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -106,7 +106,7 @@
                 s = currentNode.getSession();
             } else {
                 currentPath = SlingRequestPaths.getPathInfo(request);
-                s = (Session)request.getAttribute(SlingHttpContext.SESSION);
+                s = (Session)request.getAttribute(CoreConstants.SESSION);
             }
             
             if(s==null) {



Mime
View raw message