Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/SystemBrowserFactory.java')
-rw-r--r--org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/SystemBrowserFactory.java19
1 files changed, 9 insertions, 10 deletions
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/SystemBrowserFactory.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/SystemBrowserFactory.java
index 3c0481bbc..b285bec0d 100644
--- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/SystemBrowserFactory.java
+++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/browser/SystemBrowserFactory.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -9,9 +9,10 @@
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.help.ui.internal.browser;
-import org.eclipse.core.runtime.*;
-import org.eclipse.help.browser.*;
-import org.eclipse.osgi.service.environment.*;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.help.browser.IBrowser;
+import org.eclipse.help.browser.IBrowserFactory;
+import org.eclipse.osgi.service.environment.Constants;
public class SystemBrowserFactory implements IBrowserFactory {
/**
* Constructor.
@@ -19,15 +20,13 @@ public class SystemBrowserFactory implements IBrowserFactory {
public SystemBrowserFactory() {
super();
}
- /*
- * @see IBrowserFactory#isAvailable()
- */
+
+ @Override
public boolean isAvailable() {
return Constants.WS_WIN32.equalsIgnoreCase(Platform.getOS());
}
- /*
- * @see IBrowserFactory#createBrowser()
- */
+
+ @Override
public IBrowser createBrowser() {
return new SystemBrowserAdapter();
}

Back to the top