tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper JspC.java
Date Thu, 16 May 2002 00:41:26 GMT
kinman      02/05/15 17:41:26

  Modified:    jasper/src/share/org/apache/jasper JspC.java
  Log:
  - Fixed 7007: Invalid names generated in web.xml by jspc.
  
  Revision  Changes    Path
  1.15      +5 -5      jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/JspC.java
  
  Index: JspC.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/JspC.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- JspC.java	27 Feb 2002 01:01:00 -0000	1.14
  +++ JspC.java	16 May 2002 00:41:26 -0000	1.15
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/JspC.java,v
1.14 2002/02/27 01:01:00 kinman Exp $
  - * $Revision: 1.14 $
  - * $Date: 2002/02/27 01:01:00 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/JspC.java,v
1.15 2002/05/16 00:41:26 kinman Exp $
  + * $Revision: 1.15 $
  + * $Date: 2002/05/16 00:41:26 $
    *
    * ====================================================================
    * 
  @@ -408,9 +408,9 @@
   
               targetClassName = null;
               String thisServletName;
  -            if  (clc.getPackageName() == null) {
  +            if ("".equals(clc.getPackageName())) {
                   thisServletName = clc.getClassName();
  -             } else {
  +            } else {
                   thisServletName = clc.getPackageName()
                       + '.' + clc.getClassName();
               }
  
  
  

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


Mime
View raw message