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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentLinkedDeque.java (file contents):
Revision 1.45 by jsr166, Thu May 2 06:38:33 2013 UTC vs.
Revision 1.46 by dl, Fri Jun 7 23:56:37 2013 UTC

# Line 1398 | Line 1398 | public class ConcurrentLinkedDeque<E>
1398                  if (p.item == null && p == (p = p.next))
1399                      current = p = q.first();
1400                  if (p != null && p.next != null) {
1401 <                    Object[] a;
1402 <                    try {
1403 <                        a = new Object[n];
1404 <                    } catch (OutOfMemoryError oome) {
1405 <                        return null;
1406 <                    }
1401 >                    Object[] a = new Object[n];
1402                      int i = 0;
1403                      do {
1404                          if ((a[i] = p.item) != null)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines