mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Java: Don't fold too complex expressions when extracting method (IDEA-175221, IDEA-167255)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class C {
|
||||
int foo(String[] vars, int i) {
|
||||
return newMethod(vars[i]);
|
||||
}
|
||||
|
||||
private int newMethod(String var) {
|
||||
return var.length();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user