mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 20:05:35 +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);
|
foInfoPaths.add(path);
|
||||||
|
|
||||||
Map toolPathsMap = tcApplicabilityPaths.fToolPathMap;
|
Map toolPathsMap = tcApplicabilityPaths.fToolPathMap;
|
||||||
for(Iterator iter = toolSet.iterator(); iter.hasNext(); ){
|
if(toolSet != null){
|
||||||
Set set = new HashSet();
|
for(Iterator iter = toolSet.iterator(); iter.hasNext(); ){
|
||||||
toolPathsMap.put(iter.next(), set);
|
Set set = new HashSet();
|
||||||
set.add(path);
|
toolPathsMap.put(iter.next(), set);
|
||||||
|
set.add(path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
calculateChildPaths(pathMap, path, curTc, foInfoPaths, toolPathsMap, fileInfoPaths);
|
calculateChildPaths(pathMap, path, curTc, foInfoPaths, toolPathsMap, fileInfoPaths);
|
||||||
|
|
Loading…
Add table
Reference in a new issue