Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createMissingBooleanPrimitiveBranches/beforeMissedFalse.java
Bas Leijdekkers bd7f1f4270 Java: proper order of 'true' and 'false' in quick-fix name (IDEA-357973)
also fixes internationalization and the incorrect comma in the name
for "Create missing switch branches" quick-fix

GitOrigin-RevId: 16285e054447d8d15318df8889499bbbf91243a7
2024-08-21 09:12:08 +00:00

15 lines
253 B
Java

// "Create missing branch 'true'" "true-preview"
import java.util.List;
class Test {
public static void main(String[] args) {
test(true);
}
public static void test(boolean b) {
switch (b<caret>){
case false -> {
}
}
}
}