Skip to content

Commit 1322f05

Browse files
Treiblesschorlectrueden
authored andcommitted
Fix item type for types missing type parameters
1 parent 0b76079 commit 1322f05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/scijava/param/ParameterStructs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static List<Member<?>> parse(final Class<?> type)
7171
if (p.length == paramCount) {
7272
for (int i=0; i<p.length; i++) {
7373
String key = p[i].key();
74-
final Type itemType = Types.param(type, functionalType, i);
74+
final Type itemType = Types.param(Types.parameterizeRaw(type), functionalType, i);
7575
final Class<?> rawItemType = Types.raw(itemType);
7676
final boolean valid = checkValidity(p[i], key, rawItemType, false,
7777
names, problems);

0 commit comments

Comments
 (0)