|
a/tool/run/plugins/basic/TreeNodeDetails.java |
|
b/tool/run/plugins/basic/TreeNodeDetails.java |
|
... |
|
... |
172 |
// get the cached location of its parent node
|
172 |
// get the cached location of its parent node
|
173 |
String parentFolder = getParentFolder(path);
|
173 |
String parentFolder = getParentFolder(path);
|
174 |
// ./jfreechart-1.0.17/lib
|
174 |
// ./jfreechart-1.0.17/lib
|
175 |
TreeNodeSPDX pathNode = (TreeNodeSPDX) nodeList.get(parentFolder);
|
175 |
TreeNodeSPDX pathNode = (TreeNodeSPDX) nodeList.get(parentFolder);
|
176 |
|
176 |
|
|
|
177 |
if(pathNode == null){
|
|
|
178 |
System.err.println("TreeNodeDetails.java - pathNode is null");
|
|
|
179 |
return;
|
|
|
180 |
}
|
177 |
|
181 |
|
178 |
TreeNodeSPDX nodeFile = new TreeNodeSPDX(fileInfo.toString());
|
182 |
TreeNodeSPDX nodeFile = new TreeNodeSPDX(fileInfo.toString());
|
179 |
nodeFile.id = fileInfo.getName();
|
183 |
nodeFile.id = fileInfo.getName();
|
180 |
nodeFile.nodeType = NodeType.file;
|
184 |
nodeFile.nodeType = NodeType.file;
|
181 |
nodeFile.setUserObject(fileInfo);
|
185 |
nodeFile.setUserObject(fileInfo);
|