You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by re...@apache.org on 2001/11/07 08:00:32 UTC

cvs commit: jakarta-slide/src/examples/multithread TestThread.java

remm        01/11/06 23:00:32

  Modified:    src/examples/multithread TestThread.java
  Log:
  - Fix the expected content length (although using 0 is also a good test for a
    failure situation).
  
  Revision  Changes    Path
  1.2       +4 -4      jakarta-slide/src/examples/multithread/TestThread.java
  
  Index: TestThread.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/examples/multithread/TestThread.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestThread.java	2001/11/01 23:19:46	1.1
  +++ TestThread.java	2001/11/07 07:00:32	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/examples/multithread/TestThread.java,v 1.1 2001/11/01 23:19:46 dirkv Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/11/01 23:19:46 $
  + * $Header: /home/cvs/jakarta-slide/src/examples/multithread/TestThread.java,v 1.2 2001/11/07 07:00:32 remm Exp $
  + * $Revision: 1.2 $
  + * $Date: 2001/11/07 07:00:32 $
    *
    * ====================================================================
    *
  @@ -79,7 +79,7 @@
    * Multi Thread example/test
    * 
    * @author Dirk Verbeeck
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public class TestThread implements Runnable
   {
  @@ -138,7 +138,7 @@
                   InputStream is = null;
   
                   // Now creating some revisions
  -                revisionDescriptor = new NodeRevisionDescriptor(0);
  +                revisionDescriptor = new NodeRevisionDescriptor(-1);
   
                   revisionDescriptor.setProperty("revision", "1");
                   is = new FileInputStream("test.txt");
  @@ -201,4 +201,4 @@
               e.printStackTrace();
           } 
       }   
  -}
  \ No newline at end of file
  +}
  
  
  

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