mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
extract method: fix complete normally custom check (IDEA-161592)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
class Test {
|
||||
|
||||
private static void f(boolean a, boolean b) {
|
||||
if (a) {
|
||||
newMethod();
|
||||
return;
|
||||
} else {
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
|
||||
private static void newMethod() {
|
||||
try {
|
||||
System.out.println();
|
||||
return;
|
||||
}
|
||||
catch (Exception e) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user