Commit d5cb4f1
authored
Fix multiple issues with
Fixes #1188, exactly as suggested in that issue. This both simplifies
the code and fixes a false negative with `@Nullable` enclosing
expressions.NewClassTrees that have enclosing expressions (#1191)1 parent 86febe1 commit d5cb4f1
2 files changed
Lines changed: 28 additions & 13 deletions
File tree
- nullaway/src
- main/java/com/uber/nullaway
- test/java/com/uber/nullaway
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
444 | 450 | | |
445 | | - | |
446 | | - | |
| 451 | + | |
| 452 | + | |
447 | 453 | | |
448 | 454 | | |
449 | 455 | | |
| |||
1861 | 1867 | | |
1862 | 1868 | | |
1863 | 1869 | | |
1864 | | - | |
1865 | 1870 | | |
1866 | | - | |
1867 | | - | |
1868 | | - | |
1869 | | - | |
1870 | | - | |
1871 | | - | |
1872 | | - | |
1873 | | - | |
1874 | | - | |
1875 | | - | |
1876 | 1871 | | |
1877 | 1872 | | |
1878 | 1873 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1134 | 1134 | | |
1135 | 1135 | | |
1136 | 1136 | | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
1137 | 1157 | | |
0 commit comments