You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2003/10/15 20:08:35 UTC

cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/source/impl DelayedRefreshSourceWrapper.java

cziegeler    2003/10/15 11:08:35

  Modified:    src/java/org/apache/cocoon/components/source/impl
                        DelayedRefreshSourceWrapper.java
  Log:
  Hopefully correctly releasing sources
  
  Revision  Changes    Path
  1.3       +9 -2      cocoon-2.1/src/java/org/apache/cocoon/components/source/impl/DelayedRefreshSourceWrapper.java
  
  Index: DelayedRefreshSourceWrapper.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/source/impl/DelayedRefreshSourceWrapper.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DelayedRefreshSourceWrapper.java	16 Mar 2003 17:49:13 -0000	1.2
  +++ DelayedRefreshSourceWrapper.java	15 Oct 2003 18:08:35 -0000	1.3
  @@ -89,7 +89,14 @@
           this.source = source;
           this.delay = delay;
       }
  -
  +    
  +    /**
  +     * Get the real source
  +     */
  +    public Source getSource() {
  +        return this.source;
  +    }
  +    
       public final InputStream getInputStream()
       throws SourceException, IOException {
           return this.source.getInputStream();