mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
Update nullability assertion tests that use newer Java features
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user