cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r232965 - /cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/bridges/ServletContextProviderImpl.java
Date Tue, 16 Aug 2005 09:12:19 GMT
Author: cziegeler
Date: Tue Aug 16 02:12:15 2005
New Revision: 232965

URL: http://svn.apache.org/viewcvs?rev=232965&view=rev
Log:
Make it compilable :(

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/bridges/ServletContextProviderImpl.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/bridges/ServletContextProviderImpl.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/bridges/ServletContextProviderImpl.java?rev=232965&r1=232964&r2=232965&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/bridges/ServletContextProviderImpl.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/bridges/ServletContextProviderImpl.java
Tue Aug 16 02:12:15 2005
@@ -20,9 +20,7 @@
 import javax.portlet.PortletResponse;
 import javax.servlet.ServletContext;
 import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletRequestWrapper;
 import javax.servlet.http.HttpServletResponse;
-import javax.servlet.http.HttpServletResponseWrapper;
 
 import org.apache.pluto.core.impl.PortletContextImpl;
 import org.apache.portals.bridges.common.ServletContextProvider;
@@ -30,7 +28,7 @@
 /**
  * This is the "bridge" to the bridges project.
  *
- * @version $Id:$
+ * @version $Id$
  */
 public class ServletContextProviderImpl implements ServletContextProvider {
 
@@ -38,14 +36,16 @@
      * @see org.apache.portals.bridges.common.ServletContextProvider#getHttpServletRequest(javax.portlet.GenericPortlet,
javax.portlet.PortletRequest)
      */
     public HttpServletRequest getHttpServletRequest(GenericPortlet portlet, PortletRequest
request) {
-        return (HttpServletRequest) ((HttpServletRequestWrapper) request).getRequest();
+        //return (HttpServletRequest) ((HttpServletRequestWrapper) request).getRequest();
+        return null;
     }
 
     /**
      * @see org.apache.portals.bridges.common.ServletContextProvider#getHttpServletResponse(javax.portlet.GenericPortlet,
javax.portlet.PortletResponse)
      */
     public HttpServletResponse getHttpServletResponse(GenericPortlet portlet, PortletResponse
response) {
-        return (HttpServletResponse) ((HttpServletResponseWrapper) response).getResponse();
+        //return (HttpServletResponse) ((HttpServletResponseWrapper) response).getResponse();
+        return null;
     }
 
     /**



Mime
View raw message