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

Comparing jsr166/src/jsr166y/ForkJoinWorkerThread.java (file contents):
Revision 1.61 by jsr166, Tue Nov 23 06:21:54 2010 UTC vs.
Revision 1.62 by jsr166, Mon Nov 29 20:58:06 2010 UTC

# Line 357 | Line 357 | public class ForkJoinWorkerThread extend
357       */
358      protected void onStart() {
359          int rs = seedGenerator.nextInt();
360 <        seed = rs == 0? 1 : rs; // seed must be nonzero
360 >        seed = (rs == 0) ? 1 : rs; // seed must be nonzero
361  
362          // Allocate name string and arrays in this thread
363          String pid = Integer.toString(pool.getPoolNumber());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines