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

Comparing jsr166/src/test/loops/DenseMapMicroBenchmark.java (file contents):
Revision 1.2 by jsr166, Thu Oct 29 23:09:07 2009 UTC vs.
Revision 1.3 by jsr166, Mon Nov 2 23:42:46 2009 UTC

# Line 113 | Line 113 | public class DenseMapMicroBenchmark {
113          public void work() {
114              Map m = null;
115              try {
116 <                m = (Map)mapClass.newInstance();
117 <            } catch(Exception e) {
116 >                m = (Map) mapClass.newInstance();
117 >            } catch (Exception e) {
118                  throw new RuntimeException("Can't instantiate " + mapClass + ": " + e);
119              }
120              final int len = elts.length;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines