From 4f43cfaef7f626b7cac6f5ff7496bedac28f91ea Mon Sep 17 00:00:00 2001 From: Dorian Burihabwa Date: Fri, 29 Nov 2024 11:55:34 +0100 Subject: [PATCH] SONARJAVA-5224 Update issue mapping for checkstyle 10.18.0 --- .../l10n/java/rules/checkstyle/rules.json | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/external-reports/src/main/resources/org/sonar/l10n/java/rules/checkstyle/rules.json b/external-reports/src/main/resources/org/sonar/l10n/java/rules/checkstyle/rules.json index 75d35d2fb8..c21a5fc8e0 100644 --- a/external-reports/src/main/resources/org/sonar/l10n/java/rules/checkstyle/rules.json +++ b/external-reports/src/main/resources/org/sonar/l10n/java/rules/checkstyle/rules.json @@ -370,6 +370,13 @@ "severity": "MAJOR", "url": "https://checkstyle.sourceforge.net/checks/coding/missingctor.html#MissingCtor" }, + { + "key": "coding.MissingNullCaseInSwitchCheck", + "name": "Missing Null Case In Switch", + "type": "CODE_SMELL", + "severity": "MAJOR", + "url": "https://checkstyle.sourceforge.net/checks/coding/missingnullcaseinswitch.html#MissingNullCaseInSwitch" + }, { "key": "coding.MissingSwitchDefaultCheck", "name": "Missing Switch Default", @@ -559,6 +566,20 @@ "severity": "MAJOR", "url": "https://checkstyle.sourceforge.net/checks/coding/unnecessarysemicolonintrywithresources.html#UnnecessarySemicolonInTryWithResources" }, + { + "key": "coding.UnusedCatchParameterShouldBeUnnamedCheck", + "name": "Unused Catch Parameter Should Be Unnamed", + "type": "CODE_SMELL", + "severity": "MAJOR", + "url": "https://checkstyle.sourceforge.net/checks/coding/unusedcatchparametershouldbeunnamed.html#UnusedCatchParameterShouldBeUnnamed" + }, + { + "key": "coding.UnusedLambdaParameterShouldBeUnnamedCheck", + "name": "Unused Lambda Parameter Should Be Unnamed", + "type": "CODE_SMELL", + "severity": "MAJOR", + "url": "https://checkstyle.sourceforge.net/checks/coding/unusedlambdaparametershouldbeunnamed.html#UnusedLambdaParameterShouldBeUnnamed" + }, { "key": "coding.UnusedLocalVariableCheck", "name": "Unused Local Variable", @@ -573,6 +594,13 @@ "severity": "MAJOR", "url": "https://checkstyle.sourceforge.net/checks/coding/variabledeclarationusagedistance.html#VariableDeclarationUsageDistance" }, + { + "key": "coding.WhenShouldBeUsedCheck", + "name": "When Should Be Used", + "type": "CODE_SMELL", + "severity": "MAJOR", + "url": "https://checkstyle.sourceforge.net/checks/coding/whenshouldbeused.html#WhenShouldBeUsed" + }, { "key": "design.DesignForExtensionCheck", "name": "Design For Extension", @@ -622,6 +650,13 @@ "severity": "MAJOR", "url": "https://checkstyle.sourceforge.net/checks/design/onetoplevelclass.html#OneTopLevelClass" }, + { + "key": "design.SealedShouldHavePermitsListCheck", + "name": "Sealed Should Have Permits List", + "type": "CODE_SMELL", + "severity": "MAJOR", + "url": "https://checkstyle.sourceforge.net/checks/design/sealedshouldhavepermitslist.html#SealedShouldHavePermitsList" + }, { "key": "design.ThrowsCountCheck", "name": "Throws Count", @@ -748,6 +783,13 @@ "severity": "MAJOR", "url": "https://checkstyle.sourceforge.net/checks/javadoc/javadoccontentlocation.html#JavadocContentLocation" }, + { + "key": "javadoc.JavadocLeadingAsteriskAlignCheck", + "name": "Javadoc Leading Asterisk Align", + "type": "CODE_SMELL", + "severity": "MAJOR", + "url": "https://checkstyle.sourceforge.net/checks/javadoc/javadocleadingasteriskalign.html#JavadocLeadingAsteriskAlign" + }, { "key": "javadoc.JavadocMethodCheck", "name": "Javadoc Method",