Commit 2904268
committed
Drop dead log(Exception) helper in WorkbenchActivitySupport
The private log(Exception) method built an IStatus and discarded it, never
actually logging anything. It has been broken since it was introduced in
2004. The only caller swallows InvocationTargetException and
InterruptedException from ProgressMonitorDialog.run(); inline that swallow
with a comment explaining why the interrupt flag is not re-set
(ModalContext.run uses InterruptedException to signal cancellation, not
actual thread interruption).
Fixes #39151 parent b2f2d9b commit 2904268
1 file changed
Lines changed: 3 additions & 12 deletions
File tree
- bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/activities/ws
Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
58 | | - | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
| |||
229 | 227 | | |
230 | 228 | | |
231 | 229 | | |
232 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | 239 | | |
249 | 240 | | |
250 | 241 | | |
| |||
0 commit comments