mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 20:45:22 +02:00
[230997] subsystem configuration extension without "description" screws up RSE init
This commit is contained in:
parent
8edfe5b108
commit
38da2bc7c5
1 changed files with 10 additions and 2 deletions
|
@ -18,6 +18,7 @@
|
||||||
* Martin Oberhuber (Wind River) - [184095] Replace systemTypeName by IRSESystemType
|
* Martin Oberhuber (Wind River) - [184095] Replace systemTypeName by IRSESystemType
|
||||||
* Martin Oberhuber (Wind River) - [177523] Unify singleton getter methods
|
* Martin Oberhuber (Wind River) - [177523] Unify singleton getter methods
|
||||||
* David Dykstal (IBM) - [197036] delay the creation of filterPoolManagers when restoring
|
* David Dykstal (IBM) - [197036] delay the creation of filterPoolManagers when restoring
|
||||||
|
* David McKnight (IBM) - [230997] subsystem configuration extension without "description" screws up RSE init
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.internal.core.subsystems;
|
package org.eclipse.rse.internal.core.subsystems;
|
||||||
|
@ -82,8 +83,15 @@ public class SubSystemConfigurationProxy implements ISubSystemConfigurationProxy
|
||||||
// Read the single attributes from the configuration element
|
// Read the single attributes from the configuration element
|
||||||
this.element = element;
|
this.element = element;
|
||||||
this.id = element.getAttribute("id"); //$NON-NLS-1$
|
this.id = element.getAttribute("id"); //$NON-NLS-1$
|
||||||
this.name = element.getAttribute("name").trim(); //$NON-NLS-1$
|
|
||||||
this.description = element.getAttribute("description").trim(); //$NON-NLS-1$
|
this.name = element.getAttribute("name"); //$NON-NLS-1$
|
||||||
|
if (this.name != null)
|
||||||
|
this.name = this.name.trim();
|
||||||
|
|
||||||
|
this.description = element.getAttribute("description"); //$NON-NLS-1$
|
||||||
|
if (this.description != null)
|
||||||
|
this.description = this.description.trim();
|
||||||
|
|
||||||
this.systemTypeIds = element.getAttribute("systemTypeIds"); //$NON-NLS-1$
|
this.systemTypeIds = element.getAttribute("systemTypeIds"); //$NON-NLS-1$
|
||||||
this.vendor = element.getAttribute("vendor"); //$NON-NLS-1$
|
this.vendor = element.getAttribute("vendor"); //$NON-NLS-1$
|
||||||
this.category = element.getAttribute("category"); //$NON-NLS-1$
|
this.category = element.getAttribute("category"); //$NON-NLS-1$
|
||||||
|
|
Loading…
Add table
Reference in a new issue