cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From upayav...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/bean CocoonBean.java
Date Wed, 01 Oct 2003 20:27:49 GMT
upayavira    2003/10/01 13:27:49

  Modified:    src/java/org/apache/cocoon/bean CocoonBean.java
  Log:
  Fixing link view generation. Previously it took 10 minutes to generate the site, now it
takes 2 minutes, which is much more like it.
  
  Revision  Changes    Path
  1.31      +4 -4      cocoon-2.1/src/java/org/apache/cocoon/bean/CocoonBean.java
  
  Index: CocoonBean.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/bean/CocoonBean.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- CocoonBean.java	22 Sep 2003 22:51:02 -0000	1.30
  +++ CocoonBean.java	1 Oct 2003 20:27:49 -0000	1.31
  @@ -488,9 +488,9 @@
                   if (null == allTranslatedLinks.get(linkTarget.getSourceURI())) {
                       try {
                           final String mimeType = 
  -                                getType(target.getDeparameterizedSourceURI(), target.getParameters());
  -                        target.setMimeType(mimeType);
  -                        allTranslatedLinks.put(target.getSourceURI(), target.getDestinationURI());
  +                                getType(linkTarget.getDeparameterizedSourceURI(), linkTarget.getParameters());
  +                        linkTarget.setMimeType(mimeType);
  +                        allTranslatedLinks.put(linkTarget.getSourceURI(), linkTarget.getDestinationURI());
                           log.info("  Link translated: " + linkTarget.getSourceURI());
                           targets.add(linkTarget);
                       } catch (ProcessingException pe) {
  
  
  

Mime
View raw message