add test for nested types

This commit is contained in:
Till Schnell 2021-04-08 18:01:52 +02:00
parent 6dd02a654b
commit c474abd2bd

View File

@ -1,4 +1,5 @@
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection;
import java.util.List; import java.util.List;
import java.lang.String; import java.lang.String;
import java.lang.Object; import java.lang.Object;
@ -38,4 +39,9 @@ class TestClassWildcards
input.add(string); input.add(string);
return listOfObjects; return listOfObjects;
} }
public List<Collection<Object>> test3(List<List<String>> input){
List<Collection<Object> listOfObjects = input;
return listOfObjects;
}
} }