diff options
author | Axel RICHARD | 2020-01-14 08:11:43 +0000 |
---|---|---|
committer | Axel RICHARD | 2020-01-14 08:11:43 +0000 |
commit | 01a976bfbb9e035af57904bb84cfbbcfc298d550 (patch) | |
tree | 88d948142341d12184321c6741d0918d6d0a9c05 /plugins | |
parent | cdc8f0fa4103d658919d26bfaa5540d1448b1846 (diff) | |
download | org.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.java | 2 |
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); } } |