Commit ceb2335
Resolve NPE when Ids don't have associated configuration elements
This fixes a regression introduced in 34b8e38
When that commit was done some instanceof checks were removed.
The result of removing the instanceof checks had the side effect
of removing the implicit null check that instanceof essentially
does.
This change restores the null check for when IConfigurationElement
is null.
Fixes #16081 parent e8a1e17 commit ceb2335
File tree
1 file changed
+17
-15
lines changed- ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/rows
1 file changed
+17
-15
lines changedLines changed: 17 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 56 | + | |
| 57 | + | |
59 | 58 | | |
60 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | | - | |
63 | 64 | | |
64 | | - | |
| 65 | + | |
65 | 66 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
70 | 71 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
0 commit comments