mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
Added SurroundResult#collapse method to collapse expanded code block back. Now, InlineMethodProcessor is simpler and preserves semantics at the call site more often. Fixes IDEA-297364 Inline Method changes semantic for a method throwing exception GitOrigin-RevId: 2ceb23e372e2876202dac687048ac86fb23cfc3b
9 lines
188 B
Java
9 lines
188 B
Java
import java.util.function.Predicate;
|
|
|
|
class X {
|
|
int x = Math.random() > 0.5 ? te<caret>st(1, 2, 3) + 1 : 0;
|
|
|
|
int test(int a, int b, int c) {
|
|
return (a * a + b * b) / (c * c);
|
|
}
|
|
} |