void () { doTest("class X {" + " void x(E e) {" + " switch (e) {" + " case A, B:" + " break;" + " /*'default' branch is unnecessary*/default/*_*//**/:" + " break;" + " }" + " }" + "}"); checkQuickFix("Remove 'default' branch", "class X {" + " void x(E e) {" + " switch (e) {" + " case A, B:" + " break;\n" + "}" + " }" + "}"); }