[cvs] / jsr166 / src / main / java / util / PriorityQueue.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/PriorityQueue.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.36, Sat Aug 30 11:40:04 2003 UTC revision 1.37, Sat Aug 30 11:44:53 2003 UTC
# Line 462  Line 462 
462                      cursor--;                      cursor--;
463                  } else {                  } else {
464                      if (forgetMeNot == null)                      if (forgetMeNot == null)
465                          forgetMeNot = new ArrayList();                          forgetMeNot = new ArrayList<E>();
466                      forgetMeNot.add(moved);                      forgetMeNot.add(moved);
467                  }                  }
468              } else if (lastRetElt != null) {              } else if (lastRetElt != null) {
# Line 669  Line 669 
669    
670          // Read in all elements in the proper order.          // Read in all elements in the proper order.
671          for (int i=0; i<size; i++)          for (int i=0; i<size; i++)
672              queue[i] = s.readObject();              queue[i] = (E) s.readObject();
673      }      }
674    
675  }  }

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8