mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 14:15:23 +02:00
NPE fix
This commit is contained in:
parent
55635e6d20
commit
27c357c01a
1 changed files with 6 additions and 4 deletions
|
@ -316,10 +316,12 @@ public class FolderInfoModification extends ToolListModification implements IFol
|
|||
foInfoPaths.add(path);
|
||||
|
||||
Map toolPathsMap = tcApplicabilityPaths.fToolPathMap;
|
||||
for(Iterator iter = toolSet.iterator(); iter.hasNext(); ){
|
||||
Set set = new HashSet();
|
||||
toolPathsMap.put(iter.next(), set);
|
||||
set.add(path);
|
||||
if(toolSet != null){
|
||||
for(Iterator iter = toolSet.iterator(); iter.hasNext(); ){
|
||||
Set set = new HashSet();
|
||||
toolPathsMap.put(iter.next(), set);
|
||||
set.add(path);
|
||||
}
|
||||
}
|
||||
|
||||
calculateChildPaths(pathMap, path, curTc, foInfoPaths, toolPathsMap, fileInfoPaths);
|
||||
|
|
Loading…
Add table
Reference in a new issue