IDEA-151861 ExtractMethodObject should not move static methods into created inner class

This commit is contained in:
Egor.Ushakov
2016-02-26 20:00:12 +03:00
parent cb57b1027c
commit bcfc1fe10f
4 changed files with 46 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
public class XXX {
void f<caret>oo() {
int i = 0 ;
bar(i);
System.out.println(i);
}
private static void bar(int i){}
}