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

Comparing jsr166/src/main/java/util/AbstractQueue.java (file contents):
Revision 1.22 by dl, Mon Nov 10 17:31:18 2003 UTC vs.
Revision 1.23 by jozart, Sun Nov 16 15:57:39 2003 UTC

# Line 132 | Line 132 | public abstract class AbstractQueue<E>
132              throw new NullPointerException();
133          if (c == this)
134              throw new IllegalArgumentException();
135 <        boolean modified = false;
136 <        Iterator<? extends E> e = c.iterator();
137 <        while (e.hasNext()) {
138 <            if (add(e.next()))
139 <                modified = true;
140 <        }
141 <        return modified;
135 >        boolean modified = false;
136 >        Iterator<? extends E> e = c.iterator();
137 >        while (e.hasNext()) {
138 >            if (add(e.next()))
139 >                modified = true;
140 >        }
141 >        return modified;
142      }
143  
144   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines