mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 07:40:42 +07:00
[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:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user