Commit b407217
Switch order of equals comparison
The variable toTypeArg may be null, hence this may throw an NPE.
Furthermore, fixes bug: for isAssignable(List<Number>, List<T>) with T
extends Number, true was returned. However, this assignment is not
allowed.1 parent 0b1df59 commit b407217
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1783 | 1783 | | |
1784 | 1784 | | |
1785 | 1785 | | |
1786 | | - | |
| 1786 | + | |
1787 | 1787 | | |
1788 | 1788 | | |
1789 | 1789 | | |
| |||
0 commit comments