Commit 2f5d946
committed
Do not fetch input eagerly if not required
Currently CompatibilityEditor.createPart(WorkbenchPartReference) eagerly
fetches the input just to then check if it is actually needed.
This now pulls out the check for MultiEditor out to only fetch the input
if there is a demand for it.1 parent 789b373 commit 2f5d946
File tree
1 file changed
+5
-3
lines changed- bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/e4/compatibility
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
0 commit comments