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:[EMAIL PROTECTED]">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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to