We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d99dcad commit eb8e570Copy full SHA for eb8e570
src/main/java/org/scijava/util/Types.java
@@ -1416,7 +1416,7 @@ private static boolean isAssignable(final Type type,
1416
// parameters must either be absent from the subject type, within
1417
// the bounds of the wildcard type, or be an exact match to the
1418
// parameters of the target type.
1419
- if (fromTypeArg != null && !toTypeArg.equals(fromTypeArg) &&
+ if (fromTypeArg != null && !fromTypeArg.equals(toTypeArg) &&
1420
!(toTypeArg instanceof WildcardType && isAssignable(fromTypeArg,
1421
toTypeArg, typeVarAssigns)))
1422
{
0 commit comments