mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 00:50:53 +07:00
Fixes IDEA-360579 Inline Method creates uncompilable code (cherry picked from commit cd73e3e730b8cef37f4a26235a2ab3db812f02ff) IJ-CR-147183 GitOrigin-RevId: 0258e753bfb5f7e66bc4a0526769fe8ba07aa02c
16 lines
293 B
Java
16 lines
293 B
Java
// IDEA-360579
|
|
class Hades {
|
|
void persephone(boolean xyz, int param) {
|
|
if(xyz && !in<caret>lineMe(param)){
|
|
System.out.println();
|
|
}
|
|
}
|
|
|
|
boolean inlineMe(int param) {
|
|
boolean result = false;
|
|
if (param >= 10) {
|
|
result = param != 20;
|
|
}
|
|
return result;
|
|
}
|
|
} |