< prev index next >

test/langtools/tools/javac/diags/examples/SwitchExpressionCompletesNormally.java

Print this page

        

*** 22,32 **** */ // key: compiler.err.switch.expression.completes.normally // key: compiler.note.preview.filename // key: compiler.note.preview.recompile ! // options: --enable-preview -source 12 class SwitchExpressionCompletesNormally { public String convert(int i) { return switch (i) { default: --- 22,32 ---- */ // key: compiler.err.switch.expression.completes.normally // key: compiler.note.preview.filename // key: compiler.note.preview.recompile ! // options: --enable-preview -source 13 class SwitchExpressionCompletesNormally { public String convert(int i) { return switch (i) { default:
< prev index next >