Commit 5d11746
authored
Fix Unresolved type to sometimes ignore a guessed Object type binding (#2966)
* Fix Unresolved type to ignore a guessed type binding to Object
- add check in UnresolvedElementsBaseSubProcessor.addSimilarTypeProposal
method to ignore a guessed binding of Object for unresolved type when there
are possible types to look at
- fix relevance when importing and adding to module so it will be
offered sooner
- for eclipse-jdt/eclipse.jdt.core#50391 parent 17f8fa5 commit 5d11746
1 file changed
Lines changed: 4 additions & 3 deletions
File tree
- org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/text/correction
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
957 | 957 | | |
958 | 958 | | |
959 | 959 | | |
960 | | - | |
| 960 | + | |
| 961 | + | |
961 | 962 | | |
962 | 963 | | |
963 | 964 | | |
| |||
1045 | 1046 | | |
1046 | 1047 | | |
1047 | 1048 | | |
1048 | | - | |
| 1049 | + | |
1049 | 1050 | | |
1050 | 1051 | | |
1051 | 1052 | | |
| |||
1094 | 1095 | | |
1095 | 1096 | | |
1096 | 1097 | | |
1097 | | - | |
| 1098 | + | |
1098 | 1099 | | |
1099 | 1100 | | |
1100 | 1101 | | |
| |||
0 commit comments