diff --git a/com.ibm.wala.core.tests/src/com/ibm/wala/core/tests/ir/AnnotationTest.java b/com.ibm.wala.core.tests/src/com/ibm/wala/core/tests/ir/AnnotationTest.java index 6b26b73b6..048cc1ea1 100644 --- a/com.ibm.wala.core.tests/src/com/ibm/wala/core/tests/ir/AnnotationTest.java +++ b/com.ibm.wala.core.tests/src/com/ibm/wala/core/tests/ir/AnnotationTest.java @@ -183,7 +183,7 @@ public class AnnotationTest extends WalaTestCase { IMethod methodUnderTest = cha.resolveMethod(methodRefUnderTest); harness.assertTrue(methodRefUnderTest.toString() + " not found", methodUnderTest != null); harness.assertTrue(methodUnderTest + " must be bytecode method", methodUnderTest instanceof IBytecodeMethod); - IBytecodeMethod IBytecodeMethodUnderTest = (IBytecodeMethod) methodUnderTest; + IBytecodeMethod IBytecodeMethodUnderTest = (IBytecodeMethod) methodUnderTest; Collection[] parameterAnnotations = IBytecodeMethodUnderTest.getParameterAnnotations(); harness.assertEquals(expected.length, parameterAnnotations.length); diff --git a/com.ibm.wala.core/src/com/ibm/wala/classLoader/CodeScanner.java b/com.ibm.wala.core/src/com/ibm/wala/classLoader/CodeScanner.java index 6a5b96afb..a41f8c163 100644 --- a/com.ibm.wala.core/src/com/ibm/wala/classLoader/CodeScanner.java +++ b/com.ibm.wala.core/src/com/ibm/wala/classLoader/CodeScanner.java @@ -191,7 +191,7 @@ public class CodeScanner { return false; } - private static Collection getCallSitesFromShrikeBT(IBytecodeMethod M) throws InvalidClassFileException { + private static Collection getCallSitesFromShrikeBT(IBytecodeMethod M) throws InvalidClassFileException { return M.getCallSites(); }