ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/HashMap/WhiteBoxResizeTest.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/HashMap/WhiteBoxResizeTest.java (file contents):
Revision 1.3 by jsr166, Wed Dec 19 15:17:48 2018 UTC vs.
Revision 1.4 by jsr166, Wed Dec 19 21:11:53 2018 UTC

# Line 114 | Line 114 | public class WhiteBoxResizeTest {
114  
115      @Test
116      public void capacityTestInitialCapacity() {
117 <        int initialCapacity = rnd.nextInt(1, 256);
117 >        int initialCapacity = rnd.nextInt(2, 128);
118          List<Supplier<HashMap<Integer, Integer>>> suppliers = List.of(
119              () -> new HashMap<>(initialCapacity),
120              () -> new HashMap<>(initialCapacity, 0.75f),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines