tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4 CoyoteRequestFacade.java
Date Tue, 29 Apr 2003 21:36:21 GMT
remm        2003/04/29 14:36:21

  Modified:    coyote/src/java/org/apache/coyote/tomcat4 Tag: coyote_10
                        CoyoteRequestFacade.java
  Log:
  - Do not double facade session objects.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +5 -10     jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteRequestFacade.java
  
  Index: CoyoteRequestFacade.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteRequestFacade.java,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- CoyoteRequestFacade.java	22 May 2002 01:15:18 -0000	1.1
  +++ CoyoteRequestFacade.java	29 Apr 2003 21:36:21 -0000	1.1.2.1
  @@ -362,12 +362,7 @@
   
   
       public HttpSession getSession(boolean create) {
  -        HttpSession session =
  -            request.getSession(create);
  -        if (session == null)
  -            return null;
  -        else
  -            return new StandardSessionFacade(session);
  +        return request.getSession(create);
       }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message