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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java (file contents):
Revision 1.250 by jsr166, Sun Sep 1 05:22:49 2013 UTC vs.
Revision 1.251 by dl, Wed Sep 4 00:02:46 2013 UTC

# Line 4427 | Line 4427 | public class ConcurrentHashMap<K,V> exte
4427          }
4428  
4429          public final boolean removeAll(Collection<?> c) {
4430 +            if (c == null) throw new NullPointerException();
4431              boolean modified = false;
4432              for (Iterator<E> it = iterator(); it.hasNext();) {
4433                  if (c.contains(it.next())) {
# Line 4438 | Line 4439 | public class ConcurrentHashMap<K,V> exte
4439          }
4440  
4441          public final boolean retainAll(Collection<?> c) {
4442 +            if (c == null) throw new NullPointerException();
4443              boolean modified = false;
4444              for (Iterator<E> it = iterator(); it.hasNext();) {
4445                  if (!c.contains(it.next())) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines