ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ArrayBlockingQueue.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ArrayBlockingQueue.java (file contents):
Revision 1.33 by dl, Sun Oct 19 13:38:34 2003 UTC vs.
Revision 1.34 by dl, Wed Oct 22 12:08:29 2003 UTC

# Line 438 | Line 438 | public class ArrayBlockingQueue<E> exten
438      public Object[] toArray() {
439          lock.lock();
440          try {
441 <            E[] a = (E[]) new Object[count];
441 >            Object[] a = new Object[count];
442              int k = 0;
443              int i = takeIndex;
444              while (k < count) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines