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

Comparing jsr166/src/jsr166e/DoubleAdder.java (file contents):
Revision 1.11 by dl, Sun May 4 22:38:19 2014 UTC vs.
Revision 1.12 by jsr166, Mon May 5 20:20:15 2014 UTC

# Line 5 | Line 5
5   */
6  
7   package jsr166e;
8 +
9 + import java.io.IOException;
10 + import java.io.ObjectInputStream;
11 + import java.io.ObjectOutputStream;
12   import java.io.Serializable;
13  
14   /**
# Line 181 | Line 185 | public class DoubleAdder extends Striped
185          return (float)sum();
186      }
187  
188 <    private void writeObject(java.io.ObjectOutputStream s)
185 <        throws java.io.IOException {
188 >    private void writeObject(ObjectOutputStream s) throws IOException {
189          s.defaultWriteObject();
190          s.writeDouble(sum());
191      }
192  
193 <    private void readObject(java.io.ObjectInputStream s)
194 <        throws java.io.IOException, ClassNotFoundException {
193 >    private void readObject(ObjectInputStream s)
194 >            throws IOException, ClassNotFoundException {
195          s.defaultReadObject();
196          busy = 0;
197          cells = null;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines