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.96 by jsr166, Sun May 18 23:47:56 2008 UTC vs.
Revision 1.97 by jsr166, Sat Oct 16 16:48:01 2010 UTC

# Line 1241 | Line 1241 | public class ConcurrentHashMap<K, V> ext
1241       * for each key-value mapping, followed by a null pair.
1242       * The key-value mappings are emitted in no particular order.
1243       */
1244 <    private void writeObject(java.io.ObjectOutputStream s) throws IOException  {
1244 >    private void writeObject(java.io.ObjectOutputStream s) throws IOException {
1245          s.defaultWriteObject();
1246  
1247          for (int k = 0; k < segments.length; ++k) {
# Line 1269 | Line 1269 | public class ConcurrentHashMap<K, V> ext
1269       * @param s the stream
1270       */
1271      private void readObject(java.io.ObjectInputStream s)
1272 <        throws IOException, ClassNotFoundException  {
1272 >        throws IOException, ClassNotFoundException {
1273          s.defaultReadObject();
1274  
1275          // Initialize each segment to be minimally sized, and let grow.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines