View | Details | Raw Unified | Return to bug 246627 | Differences between
and this patch

Collapse All | Expand All

(-)ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java (-6 / +6 lines)
Lines 5770-5776 Link Here
5770
		buf.append("            case 1:\n");
5770
		buf.append("            case 1:\n");
5771
		buf.append("                foo();\n");
5771
		buf.append("                foo();\n");
5772
		buf.append("                break;\n");
5772
		buf.append("                break;\n");
5773
		buf.append("                case 2:\n");
5773
		buf.append("            case 2:\n");
5774
		buf.append("                foo();\n");
5774
		buf.append("                foo();\n");
5775
		buf.append("                break;\n");
5775
		buf.append("                break;\n");
5776
		buf.append("            default:\n");
5776
		buf.append("            default:\n");
Lines 6833-6839 Link Here
6833
		buf.append("        switch (i) {\n");
6833
		buf.append("        switch (i) {\n");
6834
		buf.append("            case 1:\n");
6834
		buf.append("            case 1:\n");
6835
		buf.append("                time= System.currentTimeMillis();\n");
6835
		buf.append("                time= System.currentTimeMillis();\n");
6836
		buf.append("            break;\n");
6836
		buf.append("                break;\n");
6837
		buf.append("            case 2:\n");
6837
		buf.append("            case 2:\n");
6838
		buf.append("                time= 3;\n");
6838
		buf.append("                time= 3;\n");
6839
		buf.append("        }\n");
6839
		buf.append("        }\n");
Lines 6867-6873 Link Here
6867
		buf.append("        switch (i) {\n");
6867
		buf.append("        switch (i) {\n");
6868
		buf.append("            case 1:\n");
6868
		buf.append("            case 1:\n");
6869
		buf.append("                time= System.currentTimeMillis();\n");
6869
		buf.append("                time= System.currentTimeMillis();\n");
6870
		buf.append("            //$FALL-THROUGH$\n");
6870
		buf.append("                //$FALL-THROUGH$\n");
6871
		buf.append("            case 2:\n");
6871
		buf.append("            case 2:\n");
6872
		buf.append("                time= 3;\n");
6872
		buf.append("                time= 3;\n");
6873
		buf.append("        }\n");
6873
		buf.append("        }\n");
Lines 6916-6922 Link Here
6916
		buf.append("        switch (i) {\n");
6916
		buf.append("        switch (i) {\n");
6917
		buf.append("            case 1:\n");
6917
		buf.append("            case 1:\n");
6918
		buf.append("                time= System.currentTimeMillis();\n");
6918
		buf.append("                time= System.currentTimeMillis();\n");
6919
		buf.append("            break;\n");
6919
		buf.append("                break;\n");
6920
		buf.append("            default:\n");
6920
		buf.append("            default:\n");
6921
		buf.append("                time= 3;\n");
6921
		buf.append("                time= 3;\n");
6922
		buf.append("        }\n");
6922
		buf.append("        }\n");
Lines 6950-6956 Link Here
6950
		buf.append("        switch (i) {\n");
6950
		buf.append("        switch (i) {\n");
6951
		buf.append("            case 1:\n");
6951
		buf.append("            case 1:\n");
6952
		buf.append("                time= System.currentTimeMillis();\n");
6952
		buf.append("                time= System.currentTimeMillis();\n");
6953
		buf.append("            //$FALL-THROUGH$\n");
6953
		buf.append("                //$FALL-THROUGH$\n");
6954
		buf.append("            default:\n");
6954
		buf.append("            default:\n");
6955
		buf.append("                time= 3;\n");
6955
		buf.append("                time= 3;\n");
6956
		buf.append("        }\n");
6956
		buf.append("        }\n");
Lines 7037-7043 Link Here
7037
		buf.append("            case 1:\n");
7037
		buf.append("            case 1:\n");
7038
		buf.append("                time= System.currentTimeMillis();\n");
7038
		buf.append("                time= System.currentTimeMillis();\n");
7039
		buf.append("                // fall through is OK\n");
7039
		buf.append("                // fall through is OK\n");
7040
		buf.append("            //$FALL-THROUGH$\n");
7040
		buf.append("                //$FALL-THROUGH$\n");
7041
		buf.append("            default:\n");
7041
		buf.append("            default:\n");
7042
		buf.append("                time= 3;\n");
7042
		buf.append("                time= 3;\n");
7043
		buf.append("        }\n");
7043
		buf.append("        }\n");

Return to bug 246627