mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 19:28:23 +07:00
ConvertSwitchToIfIntention: preserve comments from expression when only default branch is present
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// "Unwrap 'switch'" "true"
|
||||
class X {
|
||||
String test(char c) {
|
||||
/*comment*/
|
||||
if (c == 'a') {
|
||||
System.out.println("foo");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user