[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.106, Tue Jun 16 23:06:01 2015 UTC revision 1.107, Sun Sep 20 16:20:21 2015 UTC
# Line 99  Line 99 
99      /**      /**
100       * The number of elements in the priority queue.       * The number of elements in the priority queue.
101       */       */
102      private int size;      int size;
103    
104      /**      /**
105       * The comparator, or null if priority queue uses elements'       * The comparator, or null if priority queue uses elements'
# Line 609  Line 609 
609       * avoid missing traversing elements.       * avoid missing traversing elements.
610       */       */
611      @SuppressWarnings("unchecked")      @SuppressWarnings("unchecked")
612      private E removeAt(int i) {      E removeAt(int i) {
613          // assert i >= 0 && i < size;          // assert i >= 0 && i < size;
614          modCount++;          modCount++;
615          int s = --size;          int s = --size;

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.107

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8