You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by up...@apache.org on 2003/08/30 11:51:59 UTC

cvs commit: cocoon-2.1/src/java/org/apache/cocoon/sitemap LinkGatherer.java

upayavira    2003/08/30 02:51:59

  Modified:    src/java/org/apache/cocoon/sitemap LinkGatherer.java
  Log:
  Making LinkGatherer non-caching, so that it will continue to work
  
  Revision  Changes    Path
  1.4       +4 -2      cocoon-2.1/src/java/org/apache/cocoon/sitemap/LinkGatherer.java
  
  Index: LinkGatherer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/sitemap/LinkGatherer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LinkGatherer.java	17 Aug 2003 13:43:00 -0000	1.3
  +++ LinkGatherer.java	30 Aug 2003 09:51:59 -0000	1.4
  @@ -102,7 +102,9 @@
        *         component is currently not cacheable.
        */
       public SourceValidity getValidity() {
  -        return NOPValidity.SHARED_INSTANCE;
  +//      Whilst the cache does not store gathered links, this component must be non-cacheable
  +//      return NOPValidity.SHARED_INSTANCE;
  +        return null;
       }
   
       public void simpleLink(String href, String role, String arcrole, String title, String show, String actuate, String uri,