Update nullability assertion tests that use newer Java features

This commit is contained in:
Dmitry Petrov
2019-12-27 18:14:20 +03:00
parent d622542824
commit 0e4e5ac287
17 changed files with 17 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ import java.util.*;
public class J {
public static List<Integer> listOfMaybeNullable() {
List<Integer> list = new ArrayList<>();
List<Integer> list = new ArrayList<Integer>();
list.add(42);
list.add(null);
return list;