cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/reading ResourceReader.java
Date Fri, 12 Jan 2001 09:53:09 GMT
giacomo     01/01/12 01:53:09

  Modified:    src/org/apache/cocoon/reading Tag: xml-cocoon2
                        ResourceReader.java
  Log:
  Corrected a bug
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.10  +2 -2      xml-cocoon/src/org/apache/cocoon/reading/Attic/ResourceReader.java
  
  Index: ResourceReader.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/reading/Attic/ResourceReader.java,v
  retrieving revision 1.1.2.9
  retrieving revision 1.1.2.10
  diff -u -r1.1.2.9 -r1.1.2.10
  --- ResourceReader.java	2001/01/12 09:47:47	1.1.2.9
  +++ ResourceReader.java	2001/01/12 09:53:09	1.1.2.10
  @@ -28,7 +28,7 @@
   /**
    *
    * @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
  - * @version CVS $Revision: 1.1.2.9 $ $Date: 2001/01/12 09:47:47 $
  + * @version CVS $Revision: 1.1.2.10 $ $Date: 2001/01/12 09:53:09 $
    *
    * The <code>ResourceReader</code> component is used to serve binary data
    * in a sitemap pipeline.
  @@ -89,7 +89,7 @@
           is.close();
           res.setContentLength(buffer.length);
           res.setDateHeader("Last-Modified", lastModified);
  -        long expires = par.getParameterAsInteger("expires", -1);
  +        long expires = parameters.getParameterAsInteger("expires", -1);
           if (expires > 0) {
               res.setDateHeader("Expires", System.currentTimeMillis()+expires);
           }
  
  
  

Mime
View raw message