[Extract Method] generate method with newline between braces, since otherwise with enabled "Keep simple methods in one line" formatter will keep extracted method in one line

This commit is contained in:
Yaroslav Lepenkin
2016-09-16 14:00:00 +03:00
parent 0ddefdd70a
commit b7a5f1eceb
4 changed files with 28 additions and 1 deletions
@@ -0,0 +1,12 @@
public class NewTestXl {
public static void main(String[] args) {
int b = newMethod();
System.out.println("ASfsdf");
}
private static int newMethod() {
return 100 + 1222;
}
}