ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ThreadLocalRandom.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ThreadLocalRandom.java (file contents):
Revision 1.10 by dl, Tue Jan 22 17:17:52 2013 UTC vs.
Revision 1.11 by jsr166, Mon Jan 28 17:42:42 2013 UTC

# Line 103 | Line 103 | public class ThreadLocalRandom extends R
103      private static final ThreadLocal<Double> nextLocalGaussian =
104          new ThreadLocal<Double>();
105  
106 <    /*
107 <     * Field used only during singleton initialization
106 >    /**
107 >     * Field used only during singleton initialization.
108 >     * True when constructor completes.
109       */
110 <    boolean initialized; // true when constructor completes
110 >    boolean initialized;
111  
112      /** Constructor used only for static singleton */
113      private ThreadLocalRandom() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines