cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gree...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor LinkEncodingProcessor.java
Date Sat, 09 Dec 2000 00:14:15 GMT
greenrd     00/12/08 16:14:14

  Modified:    src/org/apache/cocoon/processor LinkEncodingProcessor.java
  Log:
  fixes suggested by Chris Gow
  
  Revision  Changes    Path
  1.3       +1 -1      xml-cocoon/src/org/apache/cocoon/processor/LinkEncodingProcessor.java
  
  Index: LinkEncodingProcessor.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/LinkEncodingProcessor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LinkEncodingProcessor.java	2000/12/09 00:09:44	1.2
  +++ LinkEncodingProcessor.java	2000/12/09 00:14:11	1.3
  @@ -1,4 +1,4 @@
  -/*-- $Id: LinkEncodingProcessor.java,v 1.2 2000/12/09 00:09:44 greenrd Exp $ --
  +/*-- $Id: LinkEncodingProcessor.java,v 1.3 2000/12/09 00:14:11 greenrd Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -66,7 +66,7 @@
    * Xalan-specific features in your stylesheet.
    *
    * @author <a href="mailto:greenrd@hotmail.com">Robin Green</a>
  - * @version $Revision: 1.2 $ $Date: 2000/12/09 00:09:44 $
  + * @version $Revision: 1.3 $ $Date: 2000/12/09 00:14:11 $
    */
   
   public class LinkEncodingProcessor implements Processor, Status {
  @@ -90,7 +90,7 @@
           for (int j = 0; j < n; j++) {
               NamedNodeMap atts = e.getAttributes ();
               int m = atts.getLength ();
  -            for (int i = 0; i < n; i++) {
  +            for (int i = 0; i < m; i++) {
                   Attr att = (Attr) atts.item (i);
                   if (linkPredicate.matches (att)) {
                       // Have to use deprecated method for servlet-2.1 API compatibility
  
  
  

Mime
View raw message