Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-10-23 10:35:52 +0000
committerEike Stepper2013-10-23 10:35:52 +0000
commit02e98bba363241b28a2c531bbb793d64fed47c9d (patch)
treee579bd52d69abb516713ac2b74e7f9183895070b
parentf5faeeb08b4b62354d44374d39050d9b6c1437f7 (diff)
downloadcdo-02e98bba363241b28a2c531bbb793d64fed47c9d.tar.gz
cdo-02e98bba363241b28a2c531bbb793d64fed47c9d.tar.xz
cdo-02e98bba363241b28a2c531bbb793d64fed47c9d.zip
Fix NPE in KeyBindingTaskImpl.isNeeded()
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/KeyBindingTaskImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/KeyBindingTaskImpl.java b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/KeyBindingTaskImpl.java
index ddc8fafa2a..ff58a0d263 100644
--- a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/KeyBindingTaskImpl.java
+++ b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/KeyBindingTaskImpl.java
@@ -598,7 +598,7 @@ public class KeyBindingTaskImpl extends SetupTaskImpl implements KeyBindingTask
}
ParameterizedCommand parameterizedCommand = keyBinding.getParameterizedCommand();
- if (!ObjectUtil.equals(parameterizedCommand.getId(), getCommand()))
+ if (parameterizedCommand == null || !ObjectUtil.equals(parameterizedCommand.getId(), getCommand()))
{
continue;
}

Back to the top