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:
parent
523eabbdf3
commit
22d4c8efdd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue