larryi      01/12/18 18:39:39

  Modified:    src/share/org/apache/tomcat/util JavaGeneratorTool.java
  Log:
  Fix IndexOutOfBoundsException
  
  Revision  Changes    Path
  1.5       +1 -1      
jakarta-tomcat/src/share/org/apache/tomcat/util/JavaGeneratorTool.java
  
  Index: JavaGeneratorTool.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/JavaGeneratorTool.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JavaGeneratorTool.java    2001/12/14 03:55:11     1.4
  +++ JavaGeneratorTool.java    2001/12/19 02:39:39     1.5
  @@ -78,7 +78,7 @@
                    continue;
                }
                    
  -             if( (s.length()>=endIdx) && s.charAt( endIdx ) != '/' ) {
  +             if( (s.length()>endIdx) && s.charAt( endIdx ) != '/' ) {
                    index = s.indexOf(keywords[i],index+3);
                    continue;
                }
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to