mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-03 14:25:37 +02:00
Bug 211522 fix NPEs.
This commit is contained in:
parent
2997c0991e
commit
602acfa948
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ public class ResourceDescriptionHolder {
|
|||
public boolean visit(PathSettingsContainer container) {
|
||||
ICResourceDescription des = (ICResourceDescription)container.getValue();
|
||||
if((container != fPathSettingContainer || fIncludeCurrent)
|
||||
&& (kind & des.getType()) == des.getType()){
|
||||
&& des != null && (kind & des.getType()) == des.getType()){
|
||||
list.add(des);
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue