You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2003/07/04 12:46:29 UTC

cvs commit: cocoon-2.1/src/blocks/session-fw/java/org/apache/cocoon/webapps/session/context StandardSessionContextProvider.java

cziegeler    2003/07/04 03:46:29

  Modified:    src/blocks/session-fw/java/org/apache/cocoon/webapps/session/context
                        StandardSessionContextProvider.java
  Log:
  Removing response context
  
  Revision  Changes    Path
  1.5       +1 -7      cocoon-2.1/src/blocks/session-fw/java/org/apache/cocoon/webapps/session/context/StandardSessionContextProvider.java
  
  Index: StandardSessionContextProvider.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/session-fw/java/org/apache/cocoon/webapps/session/context/StandardSessionContextProvider.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- StandardSessionContextProvider.java	4 Jul 2003 10:44:17 -0000	1.4
  +++ StandardSessionContextProvider.java	4 Jul 2003 10:46:29 -0000	1.5
  @@ -125,12 +125,6 @@
                       context = null;
                       objectModel.remove(this.getClass().getName()+name);
                   }
  -            } else {
  -                ResponseSessionContext r = (ResponseSessionContext)context;
  -                if (!(r.getResponse() == ObjectModelHelper.getResponse( objectModel))) {
  -                    context = null;
  -                    objectModel.remove(this.getClass().getName()+name);
  -                }
               }
           }
           return context;