mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 07:05:24 +02:00
[cleanup] Prepare for possible removal of systemTypes attribute
This commit is contained in:
parent
22d4c8efdd
commit
657a1c0080
1 changed files with 3 additions and 3 deletions
|
@ -224,9 +224,9 @@ public class SubSystemConfigurationProxy implements ISubSystemConfigurationProxy
|
|||
if (category == null) category = "Unknown"; //$NON-NLS-1$
|
||||
|
||||
// We default to all system types if neither systemTypeNames nor systemTypeIds are specified.
|
||||
if (systemTypeNames == null && systemTypeIds == null) systemTypeNames = "*"; //$NON-NLS-1$
|
||||
if (systemTypeNames == null && systemTypeIds == null) systemTypeIds = "*"; //$NON-NLS-1$
|
||||
|
||||
this.allTypes = systemTypeNames != null && systemTypeNames.equals("*"); //$NON-NLS-1$
|
||||
this.allTypes = systemTypeIds != null && systemTypeIds.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);
|
||||
|
@ -277,7 +277,7 @@ public class SubSystemConfigurationProxy implements ISubSystemConfigurationProxy
|
|||
* @see org.eclipse.rse.core.subsystems.ISubSystemConfigurationProxy#getDeclaredSystemTypeIds()
|
||||
*/
|
||||
public String getDeclaredSystemTypeIds() {
|
||||
return systemTypeIds;
|
||||
return "*".equals(systemTypeIds) ? null : systemTypeIds; //$NON-NLS-1$
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
|
Loading…
Add table
Reference in a new issue