Commit a441844
committed
Use ILog.of(Class).error in IDEApplication version-file logger
Replaces the cross-bundle call to org.eclipse.ui.internal.ide.StatusUtil
.newError(...) in IDEApplication#writeVersion with ILog.of(IDEApplication
.class).error(message, throwable), and drops the now-unused StatusUtil
import.
Behavior changes:
- Plug-in id moves from "org.eclipse.ui.ide" (IDE_WORKBENCH constant in
the called StatusUtil) to "org.eclipse.ui.ide.application", which is
the bundle that actually emits the version-file write failure.
- The previous IDEWorkbenchPlugin.log(message, status) helper emitted
two separate log entries (one for the message, one for the status);
this now produces a single coherent entry whose status carries both
the context message and the throwable, removing the dependency on the
potentially-null e.getLocalizedMessage().1 parent d6a1501 commit a441844
1 file changed
Lines changed: 2 additions & 3 deletions
File tree
- bundles/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
841 | | - | |
842 | | - | |
| 841 | + | |
843 | 842 | | |
844 | 843 | | |
845 | 844 | | |
| |||
0 commit comments