File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
core-codemods/src/main/java/io/codemodder/codemods Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ public static List<Class<? extends CodeChanger>> asList() {
2929 JSPScriptletXSSCodemod .class ,
3030 LimitReadlineCodemod .class ,
3131 MavenSecureURLCodemod .class ,
32- MoveSwitchDefaultCaseLastCodemod .class ,
3332 OutputResourceLeakCodemod .class ,
3433 PreventFileWriterLeakWithFilesCodemod .class ,
3534 RandomizeSeedCodemod .class ,
Original file line number Diff line number Diff line change 1111
1212/**
1313 * A codemod for moving the "default" case to last in switch statements. This codemod is not
14- * currently in the default set because it
14+ * currently in the default set because it could conceivably change behavior when other case
15+ * statements fall through to it. It should be improved to only move if the previous case
16+ * does not fall through.
1517 */
1618@ Codemod (
1719 id = "pixee:java/move-switch-default-last" ,
You can’t perform that action at this time.
0 commit comments