# | Line 26 | Line 26 | |
---|---|---|
26 | * @bug 4904067 | |
27 | * @summary Unit test for Collections.checkedList | |
28 | * @author Josh Bloch | |
29 | + | * @key randomness |
30 | */ | |
31 | ||
32 | import java.util.*; | |
# | Line 201 | Line 202 | public class CheckedListBash { | |
202 | } | |
203 | ||
204 | static List newList() { | |
205 | < | List s = Collections.checkedList(new ArrayList(), Integer.class); |
205 | > | List s = Collections.checkedList(new ArrayList(), Integer.class); |
206 | if (!s.isEmpty()) | |
207 | fail("New instance non empty."); | |
208 | return s; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |