[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.73, Tue Jun 21 19:29:21 2011 UTC revision 1.74, Wed Jul 13 11:27:28 2011 UTC
# Line 589  Line 589 
589       * avoid missing traversing elements.       * avoid missing traversing elements.
590       */       */
591      private E removeAt(int i) {      private E removeAt(int i) {
592          assert i >= 0 && i < size;          // assert i >= 0 && i < size;
593          modCount++;          modCount++;
594          int s = --size;          int s = --size;
595          if (s == i) // removed last element          if (s == i) // removed last element

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8