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 Foo {
|
||||
boolean bar(String[] a) {
|
||||
for (int i = 0; i < a.length; i++) {<selection>
|
||||
if (a[i].length() > 3 && i % 3 == 0)
|
||||
return true;
|
||||
</selection>}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user