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

Comparing jsr166/src/test/loops/SMap.java (file contents):
Revision 1.3 by jsr166, Thu Oct 29 23:09:08 2009 UTC vs.
Revision 1.5 by jsr166, Tue Mar 15 19:47:05 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   */
6   import java.util.*;
7   import java.util.concurrent.*;
# Line 29 | Line 29 | public class SMap implements Map {
29      public synchronized int size() {
30          return m.size();
31      }
32 <    public synchronized boolean isEmpty(){
32 >    public synchronized boolean isEmpty() {
33          return m.isEmpty();
34      }
35  
# Line 40 | Line 40 | public class SMap implements Map {
40      public synchronized boolean containsKey(Object key) {
41          return m.containsKey(key);
42      }
43 <    public synchronized boolean containsValue(Object value){
43 >    public synchronized boolean containsValue(Object value) {
44          return m.containsValue(value);
45      }
46  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines