Project: JDT
Bug 35905 inline method: handles casts incorrectly (missing brackets) [refactoring]
Reported: 2003-04-01 05:10:41 | Status: resolved fixed

20030326 public class Test { private void foo(Object string){ String s1= intern((String)string); } private static String intern(String string){ return string.intern(); } } inline intern(String) - you get compile errors (missing brackets)

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_in/TestReceiverCast.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/cast_out/TestReceiverCast.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java