mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
extract method: correct cast inserted
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
public class Test {
|
||||
void foo(Object o) {
|
||||
if (o instanceof A) {
|
||||
newMethod((Object) o);
|
||||
newMethod((A) o);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user