Files
Andrey.Cherkasov d01484e002 IDEA-220039: Disable the "Unwrap 'else' branch" intention action if the 'else' is not redundant
GitOrigin-RevId: 9ff561b38bce316cbcbd1e24c738b77cf6495460
2020-12-21 10:51:36 +00:00

12 lines
220 B
Java

// "Unwrap 'else' branch" "false"
class T {
String f(boolean b) {
if (b)
return "When true";
<caret>else
// Before
return "Otherwise";
// After
}
}