| commit | 731ccc814ae3d9bd93bef11b5a728fb0553ee404 | [log] [tgz] |
|---|---|---|
| author | scottb@google.com <scottb@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Feb 12 00:19:05 2008 +0000 |
| committer | scottb@google.com <scottb@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Tue Feb 12 00:19:05 2008 +0000 |
| tree | 90de36f5f37e5ae0cf8127af3df2dfbafd598ffd | |
| parent | d2f83c2a3a8e6cb3222cb3cf7c7b80888287c0f7 [diff] |
Fixed build break in HashMapBenchmark where the generated code tried to pass a parameter the declared code did not accept. Review by: tobyr (desk check) git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1824 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/emultest/java/util/HashMapBenchmark.java b/user/test/com/google/gwt/emultest/java/util/HashMapBenchmark.java index e1486e1..f35e371 100644 --- a/user/test/com/google/gwt/emultest/java/util/HashMapBenchmark.java +++ b/user/test/com/google/gwt/emultest/java/util/HashMapBenchmark.java
@@ -192,7 +192,7 @@ testHashMapStringAdds(size); } - protected void initMap() { - map = new HashMap<Object, Object>(); + protected void initMap(Integer size) { + map = new HashMap<Object, Object>(size); } }