You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by cz...@apache.org on 2002/04/22 11:15:01 UTC

cvs commit: jakarta-avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/impl URLSource.java

cziegeler    02/04/22 02:15:01

  Modified:    sourceresolve/src/java/org/apache/excalibur/source/impl
                        URLSource.java
  Log:
  Commented out dependency to monitor package
  
  Revision  Changes    Path
  1.2       +5 -3      jakarta-avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/impl/URLSource.java
  
  Index: URLSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/impl/URLSource.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- URLSource.java	19 Apr 2002 09:05:37 -0000	1.1
  +++ URLSource.java	22 Apr 2002 09:15:00 -0000	1.2
  @@ -17,10 +17,12 @@
   import java.net.URLConnection;
   import java.util.Iterator;
   import java.util.Map;
  +/*
   import org.apache.avalon.excalibur.monitor.FileResource;
   import org.apache.avalon.excalibur.monitor.Monitorable;
   import org.apache.avalon.excalibur.monitor.Resource;
   import org.apache.avalon.excalibur.monitor.SourceResource;
  +*/
   import org.apache.excalibur.source.*;
   import org.apache.excalibur.source.impl.validity.TimeStampValidity;
   
  @@ -28,11 +30,11 @@
    * Description of a source which is described by an URL.
    *
    * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
  - * @version CVS $Revision: 1.1 $ $Date: 2002/04/19 09:05:37 $
  + * @version CVS $Revision: 1.2 $ $Date: 2002/04/22 09:15:00 $
    */
   
   public final class URLSource
  -    implements Source, Monitorable
  +    implements Source, // Monitorable
   {
   
       /** With this parameter you can specify the method to use for a http request.
  @@ -180,7 +182,6 @@
   
       /**
        *  Get the corresponding Resource object for monitoring.
  -     */
       public Resource getResource()
           throws Exception
       {
  @@ -194,6 +195,7 @@
               return new SourceResource( this );
           }
       }
  +     */
   
       /**
        * Return an <code>InputStream</code> object to read from the source.
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>