mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
ConvertSwitchToIfIntention: preserve comments from expression when only default branch is present
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// "Unwrap 'switch'" "true"
|
||||
class X {
|
||||
String test(char c) {
|
||||
s<caret>witch (c) {
|
||||
s<caret>witch (c/*comment*/) {
|
||||
default:
|
||||
if(c == 'a') {
|
||||
System.out.println("foo");
|
||||
|
||||
Reference in New Issue
Block a user