[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.72, Fri Jun 10 00:20:44 2011 UTC revision 1.73, Tue Jun 21 19:29:21 2011 UTC
# Line 331  Line 331 
331      }      }
332    
333      public E peek() {      public E peek() {
334          if (size == 0)          return (size == 0) ? null : (E) queue[0];
             return null;  
         return (E) queue[0];  
335      }      }
336    
337      private int indexOf(Object o) {      private int indexOf(Object o) {

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

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8