remove redundant casts when extract changed parameter type accordingly (IDEA-79743)

This commit is contained in:
Anna Kozlova
2012-02-02 11:03:55 +04:00
parent 41c22fd6b9
commit 7d870ed603
6 changed files with 67 additions and 28 deletions
@@ -497,6 +497,10 @@ public class ExtractMethodTest extends LightCodeInsightTestCase {
doTest();
}
public void testRedundantCast() throws Exception {
doTest();
}
private void doPrepareErrorTest(final String expectedMessage) throws Exception {
String expectedError = null;
try {