commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections/buffer TestBlockingBuffer.java
Date Fri, 12 Nov 2004 00:03:43 GMT
scolebourne    2004/11/11 16:03:43

  Modified:    collections/src/test/org/apache/commons/collections/buffer
                        TestBlockingBuffer.java
  Log:
  Don't access static methods via instance variable
  from Chris Tilden
  
  Revision  Changes    Path
  1.6       +4 -4      jakarta-commons/collections/src/test/org/apache/commons/collections/buffer/TestBlockingBuffer.java
  
  Index: TestBlockingBuffer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/buffer/TestBlockingBuffer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestBlockingBuffer.java	1 Jun 2004 22:55:54 -0000	1.5
  +++ TestBlockingBuffer.java	12 Nov 2004 00:03:43 -0000	1.6
  @@ -380,7 +380,7 @@
   
               try {
                   // wait for other thread to block on get() or remove()
  -                Thread.currentThread().sleep(100);
  +                Thread.sleep(100);
               }
               catch (InterruptedException e) {}
   
  @@ -403,7 +403,7 @@
   
               try {
                   // wait for other thread to block on get() or remove()
  -                Thread.currentThread().sleep(100);
  +                Thread.sleep(100);
               }
               catch (InterruptedException e) {}
   
  @@ -481,7 +481,7 @@
   
       private void delay(){
           try {
  -            Thread.currentThread().sleep(100);
  +            Thread.sleep(100);
           } catch (InterruptedException e) {}
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message