aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/src/org/aspectj/testing/util/StructureModelUtil.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/testing/src/org/aspectj/testing/util/StructureModelUtil.java b/testing/src/org/aspectj/testing/util/StructureModelUtil.java
index 69fa568bd..d08098a29 100644
--- a/testing/src/org/aspectj/testing/util/StructureModelUtil.java
+++ b/testing/src/org/aspectj/testing/util/StructureModelUtil.java
@@ -198,13 +198,7 @@ public class StructureModelUtil {
for (Iterator it = node.getChildren().iterator(); it.hasNext();) {
IProgramElement nextNode = (IProgramElement) it.next();
- if (nextNode instanceof IProgramElement) {
- getPackagesHelper(
- (IProgramElement) nextNode,
- kind,
- prename,
- matches);
- }
+ getPackagesHelper(nextNode, kind, prename, matches);
}
return matches;