You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2003/12/22 14:46:31 UTC

cvs commit: cocoon-2.1/src/java/org/apache/cocoon/generation LinkStatusGenerator.java

joerg       2003/12/22 05:46:31

  Modified:    src/java/org/apache/cocoon/generation
                        LinkStatusGenerator.java
  Log:
  from unused field to added FIXME comment to *code in comment* to ... removal - let's have a look in 2 months again
  
  Revision  Changes    Path
  1.6       +5 -4      cocoon-2.1/src/java/org/apache/cocoon/generation/LinkStatusGenerator.java
  
  Index: LinkStatusGenerator.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/generation/LinkStatusGenerator.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- LinkStatusGenerator.java	21 Oct 2003 13:46:01 -0000	1.5
  +++ LinkStatusGenerator.java	22 Dec 2003 13:46:31 -0000	1.6
  @@ -208,8 +208,8 @@
       private HashSet excludeCrawlingURL;
       private HashSet includeCrawlingURL;
       // FIXME - The following two are never read, can we delete them?
  -    private String userAgent = USER_AGENT_DEFAULT;
  -    private String accept = ACCEPT_DEFAULT;
  +    //private String userAgent = USER_AGENT_DEFAULT;
  +    //private String accept = ACCEPT_DEFAULT;
   
       private HashSet crawled;
       private HashSet linksToProcess;
  @@ -322,7 +322,7 @@
                   this.linkViewQuery = value.trim();
               }
           }
  -
  +/*      FIXME: Also delete this if you delete the fields above.
           child = configuration.getChild(USER_AGENT_CONFIG, false);
           if (child != null) {
               value = child.getValue();
  @@ -338,6 +338,7 @@
                   this.accept = value;
               }
           }
  +*/
       }
   
       public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par)