# | Line 201 | Line 201 | public class CheckedListBash { | |
---|---|---|
201 | } | |
202 | ||
203 | static List newList() { | |
204 | < | List s = Collections.checkedList(new ArrayList(), Integer.class); |
204 | > | List s = Collections.checkedList(new ArrayList(), Integer.class); |
205 | if (!s.isEmpty()) | |
206 | fail("New instance non empty."); | |
207 | return s; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |