avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/monitor/src/java/org/apache/avalon/excalibur/monitor MonitorableURLSource.java
Date Tue, 04 Jun 2002 06:26:04 GMT
cziegeler    2002/06/03 23:26:03

  Modified:    monitor/src/java/org/apache/avalon/excalibur/monitor
                        MonitorableURLSource.java
  Log:
  Fixed compilation problem in monitor package
  
  Revision  Changes    Path
  1.4       +3 -3      jakarta-avalon-excalibur/monitor/src/java/org/apache/avalon/excalibur/monitor/MonitorableURLSource.java
  
  Index: MonitorableURLSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/monitor/src/java/org/apache/avalon/excalibur/monitor/MonitorableURLSource.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MonitorableURLSource.java	13 May 2002 12:17:40 -0000	1.3
  +++ MonitorableURLSource.java	4 Jun 2002 06:26:03 -0000	1.4
  @@ -13,7 +13,7 @@
    * This adds the <code>Monitorable</code> interface to the URLSource.
    *
    * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
  - * @version CVS $Revision: 1.3 $ $Date: 2002/05/13 12:17:40 $
  + * @version CVS $Revision: 1.4 $ $Date: 2002/06/04 06:26:03 $
    */
   
   public class MonitorableURLSource
  @@ -35,9 +35,9 @@
           throws Exception
       {
           this.getInfos();
  -        if( this.isFile == true )
  +        if( null == this.file )
           {
  -            return new FileResource( this.systemId.substring( FILE.length() ) );
  +            return new FileResource( this.file.getAbsolutePath() );
           }
           else
           {
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message