File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
scijava-types/src/main/java/org/scijava/types Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1922,12 +1922,14 @@ else if (!isAssignable(fromResolved == null ? fromTypeArg
19221922 // typeVarAssigns.
19231923 // Effectively toResolved = fromResolved.
19241924 if (toTypeArg == null && toResolved == null && typeVarAssigns != null ) {
1925+ // bind unbounded to a concrete type
19251926 if (fromResolved != null ) {
19261927 TypeVariable <?> unbounded = (TypeVariable <?>) toTypeVarAssigns .get (
19271928 var );
19281929 typeVarAssigns .put (unbounded , fromResolved );
19291930 toResolved = fromResolved ;
19301931 }
1932+ // bind unbounded to another type variable
19311933 else {
19321934 typeVarAssigns .put ((TypeVariable <?>) toTypeVarAssigns .get (var ),
19331935 fromTypeVarAssigns .get (var ));
You can’t perform that action at this time.
0 commit comments