mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 20:05:35 +02:00
Fix for [Bug 185497] NPE in org.eclipse.cdt.managedbuilder.internal.core.FolderInfo
This commit is contained in:
parent
154093025f
commit
f5ddcb1de9
1 changed files with 2 additions and 0 deletions
|
@ -3203,6 +3203,7 @@ public class CProjectDescriptionManager implements ICProjectDescriptionManager {
|
|||
if(!settingsCustomized(project, (CFolderData)parentRcData, (CFolderData)childRcData)){
|
||||
try {
|
||||
data.removeResourceData(childRcData);
|
||||
child.remove();
|
||||
modified = true;
|
||||
} catch (CoreException e) {
|
||||
CCorePlugin.log(e);
|
||||
|
@ -3213,6 +3214,7 @@ public class CProjectDescriptionManager implements ICProjectDescriptionManager {
|
|||
if(!settingsCustomized(project, (CResourceData)parent.getValue(), (CFileData)childRcData)){
|
||||
try {
|
||||
data.removeResourceData(childRcData);
|
||||
child.remove();
|
||||
modified = true;
|
||||
} catch (CoreException e) {
|
||||
CCorePlugin.log(e);
|
||||
|
|
Loading…
Add table
Reference in a new issue