Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2011-08-19 19:15:15 +0000
committerChris Goldthorpe2011-08-19 19:15:15 +0000
commitf253103cbd692a2e927c3a5ea44232709ebf70d1 (patch)
treec31e9272c7632dc9326740617e69ddc7627cd91f /org.eclipse.help.ui/src
parent06fdd3eae3ceae44aca7f73f1c231e5ec2714e6d (diff)
downloadeclipse.platform.ua-f253103cbd692a2e927c3a5ea44232709ebf70d1.tar.gz
eclipse.platform.ua-f253103cbd692a2e927c3a5ea44232709ebf70d1.tar.xz
eclipse.platform.ua-f253103cbd692a2e927c3a5ea44232709ebf70d1.zip
Bug 355041 - [Help][Context] NPE when pressing F1 in wizard without titlev20110819
Diffstat (limited to 'org.eclipse.help.ui/src')
-rw-r--r--org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ContextHelpPart.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ContextHelpPart.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ContextHelpPart.java
index 08706f186..54133ece6 100644
--- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ContextHelpPart.java
+++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/views/ContextHelpPart.java
@@ -427,6 +427,7 @@ public class ContextHelpPart extends SectionPart implements IHelpPart {
private List terms = new ArrayList();
private Set termSet = new HashSet();
public void add(String term) {
+ if (term == null ) return;
String lowerCaseTerm = term.toLowerCase();
// Do not allow duplicates
if (!termSet.contains(lowerCaseTerm)) {

Back to the top