mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-274822 [convert switch to if] fix: avoid calls to PsiSwitchLabelStatementBase.isDefaultCase
GitOrigin-RevId: e72998a2f37c21d4c78096da3c45d56f1d7fd2aa
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e746a1fd51
commit
5a1a3450b4
+6
@@ -0,0 +1,6 @@
|
||||
// "Unwrap 'switch'" "true"
|
||||
public class One {
|
||||
void f1(String a) {
|
||||
System.out.println("None");
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Unwrap 'switch'" "true"
|
||||
public class One {
|
||||
void f1(String a) {
|
||||
sw<caret>itch (a) {
|
||||
case default -> System.out.println("None");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user