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

Comparing jsr166/src/test/loops/RWMap.java (file contents):
Revision 1.10 by jsr166, Sat May 5 17:09:23 2012 UTC vs.
Revision 1.11 by jsr166, Sat May 5 17:10:49 2012 UTC

# Line 108 | Line 108 | public class RWMap implements Concurrent
108          l.lock();
109          try {
110              Object v = m.get(key);
111 <            return v == null?  m.put(key, value) : v;
111 >            return (v == null) ? m.put(key, value) : v;
112          }
113          finally { l.unlock(); }
114      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines