remove redundant casts when extract changed parameter type accordingly (IDEA-79743)
[idea/community.git] / java / java-tests / testData / refactoring / extractMethod / RedundantCast.java
1 class Test {
2     void foo () {
3         int a = 1;
4         <selection>System.out.println("" + (Object)a);</selection>
5     }
6 }