You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/09/26 16:13:35 UTC

cvs commit: jakarta-avalon-excalibur/thread/src/java/org/apache/avalon/excalibur/thread/impl ExecutableRunnable.java

donaldp     2002/09/26 07:13:35

  Modified:    thread/src/java/org/apache/avalon/excalibur/thread/impl
                        ExecutableRunnable.java
  Log:
  touchups
  
  Revision  Changes    Path
  1.4       +5 -6      jakarta-avalon-excalibur/thread/src/java/org/apache/avalon/excalibur/thread/impl/ExecutableRunnable.java
  
  Index: ExecutableRunnable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/thread/src/java/org/apache/avalon/excalibur/thread/impl/ExecutableRunnable.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ExecutableRunnable.java	5 Aug 2002 14:21:06 -0000	1.3
  +++ ExecutableRunnable.java	26 Sep 2002 14:13:34 -0000	1.4
  @@ -10,7 +10,8 @@
   import org.apache.avalon.framework.activity.Executable;
   
   /**
  - * Class to adapt a <code>Runnable</code> object in an <code>Executable</code> object.
  + * Class to adapt a {@link Runnable} object in
  + * an {@link Executable} object.
    *
    * @author <a href="mailto:peter at apache.org">Peter Donald</a>
    */
  @@ -27,17 +28,15 @@
        */
       protected ExecutableRunnable( final Runnable runnable )
       {
  -        m_runnable = runnable;
  -
  -        ///Verify runnable is not null
           if( null == runnable )
           {
  -            throw new NullPointerException( "runnable property is null" );
  +            throw new NullPointerException( "runnable" );
           }
  +        m_runnable = runnable;
       }
   
       /**
  -     * Execute the underlying <code>Runnable</code> object.
  +     * Execute the underlying {@link Runnable} object.
        *
        * @throws Exception if an error occurs
        */
  
  
  

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