aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authoraclement <aclement>2008-08-22 17:51:20 +0000
committeraclement <aclement>2008-08-22 17:51:20 +0000
commitb48c9bb2ca27856e2dc27379a826885188faa35c (patch)
tree83f2dca42594daf273a3f774530a7d60b867b521 /testing
parent98abc3004833b14311332dd7936febd9379c4670 (diff)
downloadaspectj-b48c9bb2ca27856e2dc27379a826885188faa35c.tar.gz
aspectj-b48c9bb2ca27856e2dc27379a826885188faa35c.zip
removed unnecessary code
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;