mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Java: Don't fold the whole extracted expression (IDEA-195927)
This commit is contained in:
+3
-3
@@ -2,12 +2,12 @@ import java.util.List;
|
||||
class C {
|
||||
void foo(int[] a, List<Integer> b) {
|
||||
int i = 1;
|
||||
int n = newMethod(bar(a[i], b.get(i)));
|
||||
int n = newMethod(a[i], b.get(i));
|
||||
System.out.println(n);
|
||||
}
|
||||
|
||||
private int newMethod(int bar) {
|
||||
return bar;
|
||||
private int newMethod(int a, Integer b) {
|
||||
return bar(a, b);
|
||||
}
|
||||
|
||||
int bar(int a, int b) {
|
||||
|
||||
Reference in New Issue
Block a user