tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers SimpleMapper1.java
Date Sun, 26 Aug 2001 01:54:26 GMT
costin      01/08/25 18:54:26

  Modified:    src/share/org/apache/tomcat/modules/mappers
                        SimpleMapper1.java
  Log:
  Extra check.
  
  Revision  Changes    Path
  1.10      +1 -1      jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers/SimpleMapper1.java
  
  Index: SimpleMapper1.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers/SimpleMapper1.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- SimpleMapper1.java	2001/08/07 12:08:26	1.9
  +++ SimpleMapper1.java	2001/08/26 01:54:26	1.10
  @@ -534,7 +534,7 @@
   	while( en.hasMoreElements() ) {
   	    String s=(String)en.nextElement();
   	    Container ct=(Container)vmap.prefixMappedServlets.get( s );
  -	    if( ct.getContext() == ctx ) {
  +	    if( ct!=null && ct.getContext() == ctx ) {
   		if(debug > 0 )
   		    ctx.log( "Remove mapping " + s ); 
   		vmap.prefixMappedServlets.remove( s );
  
  
  

Mime
View raw message