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

Comparing jsr166/src/main/java/util/PriorityQueue.java (file contents):
Revision 1.36 by dl, Sat Aug 30 11:40:04 2003 UTC vs.
Revision 1.37 by dl, Sat Aug 30 11:44:53 2003 UTC

# Line 462 | Line 462 | public class PriorityQueue<E> extends Ab
462                      cursor--;
463                  } else {
464                      if (forgetMeNot == null)
465 <                        forgetMeNot = new ArrayList();
465 >                        forgetMeNot = new ArrayList<E>();
466                      forgetMeNot.add(moved);
467                  }
468              } else if (lastRetElt != null) {
# Line 669 | Line 669 | public class PriorityQueue<E> extends Ab
669  
670          // Read in all elements in the proper order.
671          for (int i=0; i<size; i++)
672 <            queue[i] = s.readObject();
672 >            queue[i] = (E) s.readObject();
673      }
674  
675   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines