extract method: correct cast inserted

This commit is contained in:
anna
2010-11-18 12:18:51 +03:00
parent b3cfdc9e2b
commit eee43e56f4
2 changed files with 2 additions and 2 deletions
@@ -1,7 +1,7 @@
public class Test {
void foo(Object o) {
if (o instanceof A) {
newMethod((Object) o);
newMethod((A) o);
}
}