stephan     2002/06/30 12:50:50

  Modified:    src/java/org/apache/cocoon/generation
                        LinkStatusGenerator.java
  Log:
  Correct two little syntax errors. Please cross check!
  
  Revision  Changes    Path
  1.3       +2 -2      
xml-cocoon2/src/java/org/apache/cocoon/generation/LinkStatusGenerator.java
  
  Index: LinkStatusGenerator.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/generation/LinkStatusGenerator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LinkStatusGenerator.java  30 Jun 2002 16:36:11 -0000      1.2
  +++ LinkStatusGenerator.java  30 Jun 2002 19:50:50 -0000      1.3
  @@ -437,7 +437,7 @@
                   String referrer = url_of_referrer.toString();
   
                   while ((line = br.readLine()) != null) {
  -                    URL new_url = new URL(url, line);
  +                    URL new_url = new URL(url_link, line);
                       boolean add_url = true;
                       // don't add new_url twice
                       if (add_url) {
  @@ -469,7 +469,7 @@
                   // now we have a list of URL which should be examined
               }
           } catch (IOException ioe) {
  -            getLogger().warn("Problems get links of " + url, ioe);
  +            getLogger().warn("Problems get links of " + url_link_string, ioe);
           }
           return url_links;
       }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to