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

Comparing jsr166/src/jsr166e/LongMaxUpdater.java (file contents):
Revision 1.5 by jsr166, Sun Jan 6 05:57:42 2013 UTC vs.
Revision 1.8 by jsr166, Mon Jan 14 02:02:41 2013 UTC

# Line 5 | Line 5
5   */
6  
7   package jsr166e;
8 import java.io.IOException;
8   import java.io.Serializable;
10 import java.io.ObjectInputStream;
11 import java.io.ObjectOutputStream;
9  
10   /**
11   * One or more variables that together maintain a running {@code long}
# Line 65 | Line 62 | public class LongMaxUpdater extends Stri
62  
63      /**
64       * Returns the current maximum.  The returned value is
65 <     * <em>NOT</em> an atomic snapshot: Invocation in the absence of
65 >     * <em>NOT</em> an atomic snapshot; invocation in the absence of
66       * concurrent updates returns an accurate result, but concurrent
67       * updates that occur while the value is being calculated might
68       * not be incorporated.
# Line 175 | Line 172 | public class LongMaxUpdater extends Stri
172          s.writeLong(max());
173      }
174  
175 <    private void readObject(ObjectInputStream s)
176 <        throws IOException, ClassNotFoundException {
175 >    private void readObject(java.io.ObjectInputStream s)
176 >        throws java.io.IOException, ClassNotFoundException {
177          s.defaultReadObject();
178          busy = 0;
179          cells = null;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines