34 |
|
}}; |
35 |
|
|
36 |
|
final SortedSet<String> nullSortedSet |
37 |
< |
= new TreeSet<String>(nullTolerantComparator); |
37 |
> |
= new TreeSet<>(nullTolerantComparator); |
38 |
|
nullSortedSet.add(null); |
39 |
|
|
40 |
|
final PriorityQueue<String> nullPriorityQueue |
41 |
|
= new PriorityQueue<String>() { |
42 |
|
public Object[] toArray() { return new Object[] { null };}}; |
43 |
|
|
44 |
< |
final Collection<String> nullCollection = new ArrayList<String>(); |
44 |
> |
final Collection<String> nullCollection = new ArrayList<>(); |
45 |
|
nullCollection.add(null); |
46 |
|
|
47 |
|
THROWS(NullPointerException.class, |