You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@locus.apache.org on 2000/04/27 06:31:07 UTC

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core Container.java

costin      00/04/26 21:31:07

  Modified:    src/share/org/apache/tomcat/core Container.java
  Log:
  Fixed broken build - let the throw in, it's important to find out if
  those cases happen.
  
  Revision  Changes    Path
  1.17      +2 -2      jakarta-tomcat/src/share/org/apache/tomcat/core/Container.java
  
  Index: Container.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/core/Container.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- Container.java	2000/04/26 22:49:49	1.16
  +++ Container.java	2000/04/27 04:31:07	1.17
  @@ -147,7 +147,7 @@
       public ContextManager getContextManager() {
   	if( contextM==null ) {
   	    /* assert */ throw new RuntimeException( "Assert: container.contextM==null" );
  -	    if(context!=null) contextM=context.getContextManager();
  +	    //if(context!=null) contextM=context.getContextManager();
   	}
   	return contextM;
       }
  @@ -260,7 +260,7 @@
       public ServletWrapper getHandler() {
           if (handler == null) {
   	    /* assert */ throw new RuntimeException( "Assert: container.getHandler==null");
  -	    handler=context.getDefaultServlet();
  +	    //handler=context.getDefaultServlet();
   	}
   	return handler;
       }