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

Comparing jsr166/src/test/loops/ConcurrentQueueLoops.java (file contents):
Revision 1.8 by jsr166, Mon Nov 2 23:42:46 2009 UTC vs.
Revision 1.9 by jsr166, Mon Nov 2 23:51:32 2009 UTC

# Line 118 | Line 118 | public class ConcurrentQueueLoops {
118      }
119  
120      static void oneRun(Class klass, int n) throws Exception {
121 <        Queue<Integer> q = (Queue<Integer>)klass.newInstance();
121 >        Queue<Integer> q = (Queue<Integer>) klass.newInstance();
122          LoopHelpers.BarrierTimer timer = new LoopHelpers.BarrierTimer();
123          CyclicBarrier barrier = new CyclicBarrier(n + 1, timer);
124          ArrayList<Future<Integer>> results = new ArrayList<Future<Integer>>(n);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines