We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b600684 commit f4ebec2Copy full SHA for f4ebec2
src/main/java/org/scijava/util/Types.java
@@ -1412,7 +1412,7 @@ private static boolean isAssignable(final Type type,
1412
// parameters must either be absent from the subject type, within
1413
// the bounds of the wildcard type, or be an exact match to the
1414
// parameters of the target type.
1415
- if (fromTypeArg != null && !toTypeArg.equals(fromTypeArg) &&
+ if (fromTypeArg != null && !fromTypeArg.equals(toTypeArg) &&
1416
!(toTypeArg instanceof WildcardType && isAssignable(fromTypeArg,
1417
toTypeArg, typeVarAssigns)))
1418
{
0 commit comments