]> source.dussan.org Git - aspectj.git/commitdiff
eclipse: unnecessary cast
authoraclement <aclement>
Fri, 22 Aug 2008 19:53:21 +0000 (19:53 +0000)
committeraclement <aclement>
Fri, 22 Aug 2008 19:53:21 +0000 (19:53 +0000)
ajde.core/testsrc/org/aspectj/ajde/core/tests/model/AsmDeclarationsTests.java

index 3da3f0fea135fa53e4a4a5cc1eff45d62c8c3dfd..2772cec2f32c78ceac1521a64c1987cfc99f806b 100644 (file)
@@ -85,7 +85,7 @@ public class AsmDeclarationsTests extends AjdeCoreTestCase {
        }  
 
        public void testDeclares() {
-               IProgramElement node = (IProgramElement)model.getRoot();
+               IProgramElement node = model.getRoot();
                assertNotNull(node);
        
                IProgramElement aspect = AsmManager.getDefault().getHierarchy().findElementForType(null, "DeclareCoverage");