From b48c9bb2ca27856e2dc27379a826885188faa35c Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 22 Aug 2008 17:51:20 +0000 Subject: [PATCH] removed unnecessary code --- .../src/org/aspectj/testing/util/StructureModelUtil.java | 8 +------- 1 file changed, 1 insertion(+), 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; -- 2.39.5