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, int j) {
|
||||
return newMethod(vars[i][j]);
|
||||
}
|
||||
|
||||
private int newMethod(String s) {
|
||||
return s.length();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user