Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel RICHARD2020-01-14 08:11:43 +0000
committerAxel RICHARD2020-01-14 08:11:43 +0000
commit01a976bfbb9e035af57904bb84cfbbcfc298d550 (patch)
tree88d948142341d12184321c6741d0918d6d0a9c05 /plugins
parentcdc8f0fa4103d658919d26bfaa5540d1448b1846 (diff)
downloadorg.eclipse.eef-01a976bfbb9e035af57904bb84cfbbcfc298d550.tar.gz
org.eclipse.eef-01a976bfbb9e035af57904bb84cfbbcfc298d550.tar.xz
org.eclipse.eef-01a976bfbb9e035af57904bb84cfbbcfc298d550.zip
[550436] Fix potential NPE in sortTabDescriptorsByAfterTab
Change-Id: I7d949e8e2fbd177bc727d0571a053a8fa54f2bd8 Signed-off-by: Axel RICHARD <axel.richard@obeo.fr>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.eef.properties.ui.legacy/src/org/eclipse/eef/properties/ui/legacy/internal/extension/impl/LegacyPropertyTabRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.eef.properties.ui.legacy/src/org/eclipse/eef/properties/ui/legacy/internal/extension/impl/LegacyPropertyTabRegistry.java b/plugins/org.eclipse.eef.properties.ui.legacy/src/org/eclipse/eef/properties/ui/legacy/internal/extension/impl/LegacyPropertyTabRegistry.java
index a3e9839ba..f9a66f325 100644
--- a/plugins/org.eclipse.eef.properties.ui.legacy/src/org/eclipse/eef/properties/ui/legacy/internal/extension/impl/LegacyPropertyTabRegistry.java
+++ b/plugins/org.eclipse.eef.properties.ui.legacy/src/org/eclipse/eef/properties/ui/legacy/internal/extension/impl/LegacyPropertyTabRegistry.java
@@ -112,7 +112,7 @@ public class LegacyPropertyTabRegistry implements IItemRegistry {
String category = propertyCategories.get(i);
for (IEEFTabDescriptor tab : tabs) {
- if (category.equals(tab.getCategory())) {
+ if (category != null && category.equals(tab.getCategory())) {
categoryList.add(tab);
}
}

Back to the top