tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfarc...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core StandardContext.java
Date Wed, 02 Apr 2003 19:43:20 GMT
jfarcand    2003/04/02 11:43:20

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardContext.java
  Log:
  Port patch from Tomcat 5.
  Return the facade instead of the context itself.
  
  Revision  Changes    Path
  1.118     +6 -5      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java
  
  Index: StandardContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
  retrieving revision 1.117
  retrieving revision 1.118
  diff -u -r1.117 -r1.118
  --- StandardContext.java	6 Mar 2003 12:58:48 -0000	1.117
  +++ StandardContext.java	2 Apr 2003 19:43:20 -0000	1.118
  @@ -1058,7 +1058,8 @@
   
           if (context == null)
               context = new ApplicationContext(getBasePath(), this);
  -        return (context);
  +
  +        return (context.getFacade());
   
       }
   
  
  
  

---------------------------------------------------------------------
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