Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2021-11-13 06:49:12 +0000
committerAlexander Kurtakov2021-11-13 07:11:34 +0000
commitcadc4e5aa07f7166ee7de2011f39452a9675df08 (patch)
tree7a8f2992f8d5ab5eab5113c2e9af5882fa2e743a
parent434f8e2fffe3aaef56b360b15bfa6c012651d96e (diff)
downloadeclipse.platform.ua-cadc4e5aa07f7166ee7de2011f39452a9675df08.tar.gz
eclipse.platform.ua-cadc4e5aa07f7166ee7de2011f39452a9675df08.tar.xz
eclipse.platform.ua-cadc4e5aa07f7166ee7de2011f39452a9675df08.zip
Already covered by instanceOf check Change-Id: I1c2f70d03c2e35f2a967471168ffe6dd5d122c87 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.ua/+/187704
-rw-r--r--org.eclipse.help.base/src/org/eclipse/help/internal/base/BaseHelpSystem.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.help.base/src/org/eclipse/help/internal/base/BaseHelpSystem.java b/org.eclipse.help.base/src/org/eclipse/help/internal/base/BaseHelpSystem.java
index 729a1b23d..243ac604a 100644
--- a/org.eclipse.help.base/src/org/eclipse/help/internal/base/BaseHelpSystem.java
+++ b/org.eclipse.help.base/src/org/eclipse/help/internal/base/BaseHelpSystem.java
@@ -325,7 +325,7 @@ public final class BaseHelpSystem {
Class<?> c = bundle.loadClass(className);
Object o = c.getDeclaredConstructor().newInstance();
//Runnable runnable = null;
- if (o != null && o instanceof ILiveHelpAction) {
+ if (o instanceof ILiveHelpAction) {
ILiveHelpAction helpExt = (ILiveHelpAction) o;
if (arg != null)
helpExt.setInitializationString(arg);
@@ -352,7 +352,7 @@ public final class BaseHelpSystem {
/**
* Check supplied token against stored token. Clears the stored token if
* successful.
- *
+ *
* @param helpSessionToken
* @return true if match successful
*/

Back to the top