Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchSupportFactory.java')
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchSupportFactory.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchSupportFactory.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchSupportFactory.java
index 0472b8faee9..9eb2f4eda57 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchSupportFactory.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchSupportFactory.java
@@ -36,11 +36,9 @@ import org.eclipse.ui.services.IServiceLocator;
public class WorkbenchSupportFactory extends AbstractServiceFactory {
@Override
- public Object create(Class serviceInterface, IServiceLocator parentLocator,
- IServiceLocator locator) {
+ public Object create(Class serviceInterface, IServiceLocator parentLocator, IServiceLocator locator) {
- IWorkbenchLocationService wls = locator
- .getService(IWorkbenchLocationService.class);
+ IWorkbenchLocationService wls = locator.getService(IWorkbenchLocationService.class);
final IWorkbench wb = wls.getWorkbench();
if (wb == null) {
return null;

Back to the top