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

Reply via email to