ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/executor DefaultExecutionFrame.java
Date Fri, 07 Jun 2002 05:43:43 GMT
donaldp     2002/06/06 22:43:43

  Modified:    container/src/java/org/apache/myrmidon/interfaces/executor
                        DefaultExecutionFrame.java
  Log:
  Add in toString() method to facilitate debugging
  
  Revision  Changes    Path
  1.5       +6 -1      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/executor/DefaultExecutionFrame.java
  
  Index: DefaultExecutionFrame.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/executor/DefaultExecutionFrame.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DefaultExecutionFrame.java	28 May 2002 03:29:56 -0000	1.4
  +++ DefaultExecutionFrame.java	7 Jun 2002 05:43:42 -0000	1.5
  @@ -18,7 +18,7 @@
    * Frames in which tasks are executed.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.4 $ $Date: 2002/05/28 03:29:56 $
  + * @version $Revision: 1.5 $ $Date: 2002/06/07 05:43:42 $
    */
   public class DefaultExecutionFrame
       implements ExecutionFrame
  @@ -131,5 +131,10 @@
           return new DefaultExecutionFrame( newName,
                                             dir,
                                             serviceManager );
  +    }
  +
  +    public String toString()
  +    {
  +        return "Frame: "+ getName() + ",id=" + System.identityHashCode( this );
       }
   }
  
  
  

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


Mime
View raw message