ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/SynchronizedCollection.java
(Generate patch)

Comparing jsr166/src/test/loops/SynchronizedCollection.java (file contents):
Revision 1.4 by jsr166, Thu Sep 16 03:57:13 2010 UTC vs.
Revision 1.6 by jsr166, Mon Dec 5 04:08:46 2011 UTC

# Line 2 | Line 2
2   /*
3   * Written by Doug Lea with assistance from members of JCP JSR-166
4   * Expert Group and released to the public domain, as explained at
5 < * http://creativecommons.org/licenses/publicdomain
5 > * http://creativecommons.org/publicdomain/zero/1.0/
6   */
7  
8   // Stand-alone version of java.util.Collections.synchronizedCollection
# Line 10 | Line 10 | import java.util.*;
10   import java.io.*;
11  
12   public final class SynchronizedCollection<E> implements Collection<E>, Serializable {
13 <    final Collection<E> c;         // Backing Collection
14 <    final Object           mutex;  // Object on which to synchronize
13 >    final Collection<E> c;      // Backing Collection
14 >    final Object mutex;         // Object on which to synchronize
15  
16      public SynchronizedCollection(Collection<E> c) {
17          if (c==null)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines