void () { doTest(""" class X { boolean x(E e) { return switch (e) { case A, B -> true; /*'default' branch is unnecessary*//*_*/default/**/ -> false; }; } }"""); checkQuickFix("Remove 'default' branch", """ class X { boolean x(E e) { return switch (e) { case A, B -> true; }; } }"""); }