Browse Source

Applied patch for bug#77799 "NullPointerException in StructureSearchManager"

tags/V1_2_1
mkersten 19 years ago
parent
commit
aab9c2c57d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ajde/src/org/aspectj/ajde/ui/StructureSearchManager.java

+ 1
- 1
ajde/src/org/aspectj/ajde/ui/StructureSearchManager.java View File

@@ -55,7 +55,7 @@ public class StructureSearchManager {
matches.add(node);
}
}
if (node.getChildren() != null) {
if (node != null && node.getChildren() != null) {
for (Iterator it = node.getChildren().iterator(); it.hasNext(); ) {
IProgramElement nextNode = (IProgramElement)it.next();
if (nextNode instanceof IProgramElement) {

Loading…
Cancel
Save