1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 15:15:25 +02:00

[fix] NPE in SubSystemConfigurationProxy constructor

This commit is contained in:
Uwe Stieber 2007-02-09 14:28:15 +00:00
parent 523eabbdf3
commit 22d4c8efdd

View file

@ -226,7 +226,7 @@ public class SubSystemConfigurationProxy implements ISubSystemConfigurationProxy
// We default to all system types if neither systemTypeNames nor systemTypeIds are specified.
if (systemTypeNames == null && systemTypeIds == null) systemTypeNames = "*"; //$NON-NLS-1$
this.allTypes = systemTypeNames.equals("*"); //$NON-NLS-1$
this.allTypes = systemTypeNames != null && systemTypeNames.equals("*"); //$NON-NLS-1$
this.image = getPluginImage(element, element.getAttribute("icon")); //$NON-NLS-1$
if (this.image == null) this.image = RSEUIPlugin.getDefault().getImageDescriptor(ISystemIconConstants.ICON_SYSTEM_CONNECTION_ID);