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

Comparing jsr166/src/test/loops/UnboundedQueueFillEmptyLoops.java (file contents):
Revision 1.3 by jsr166, Thu Oct 29 23:09:08 2009 UTC vs.
Revision 1.5 by jsr166, Mon Nov 2 23:51:32 2009 UTC

# Line 20 | Line 20 | public class UnboundedQueueFillEmptyLoop
20          if (args.length > 0) {
21              try {
22                  klass = Class.forName(args[0]);
23 <            } catch(ClassNotFoundException e) {
23 >            } catch (ClassNotFoundException e) {
24                  throw new RuntimeException("Class " + args[0] + " not found.");
25              }
26          }
# Line 45 | Line 45 | public class UnboundedQueueFillEmptyLoop
45     }
46  
47      static void oneRun(Class klass, int n) throws Exception {
48 <        Queue<Integer> q = (Queue<Integer>)klass.newInstance();
48 >        Queue<Integer> q = (Queue<Integer>) klass.newInstance();
49          int sum = total;
50          int m = rng.nextInt(numbers.length);
51          long startTime = System.nanoTime();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines