mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
[java] inline method: keep side effects free single returns (IDEA-280791)
avoid generating red code though when return value won't be a valid statement on its own GitOrigin-RevId: ad768417d454192680b8d6692d8e1037b3ee9308
This commit is contained in:
committed by
intellij-monorepo-bot
parent
da021d47d0
commit
2aa6ed2a41
@@ -0,0 +1,8 @@
|
||||
class A {
|
||||
{
|
||||
g();
|
||||
}
|
||||
int <caret>g() {
|
||||
return new Integer(0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user