cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon Main.java
Date Tue, 16 Oct 2001 12:10:28 GMT
cziegeler    01/10/16 05:10:28

  Modified:    src/org/apache/cocoon Tag: cocoon_20_branch Main.java
  Log:
  Fixed order of processing urls
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.2.18  +3 -4      xml-cocoon2/src/org/apache/cocoon/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/Main.java,v
  retrieving revision 1.4.2.17
  retrieving revision 1.4.2.18
  diff -u -r1.4.2.17 -r1.4.2.18
  --- Main.java	2001/10/10 11:14:35	1.4.2.17
  +++ Main.java	2001/10/16 12:10:28	1.4.2.18
  @@ -34,7 +34,7 @@
    * Command line entry point.
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version CVS $Revision: 1.4.2.17 $ $Date: 2001/10/10 11:14:35 $
  + * @version CVS $Revision: 1.4.2.18 $ $Date: 2001/10/16 12:10:28 $
    */
   
   public class Main {
  @@ -410,11 +410,10 @@
           int nCount = 0;
           log.info("...ready, let's go:");
   
  -        HashSet links = new HashSet();
  +        java.util.ArrayList links = new java.util.ArrayList();
           links.addAll(uris);
           while (links.size() > 0) {
  -            Iterator i = links.iterator();
  -            String url = (String)i.next();
  +            String url = (String)links.get(0);
               if(allProcessedLinks.get(url) == null){
                   if (xspOnly) {
                       this.processXSP(url);
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message