Tianyi
Tianyi
fixes #19150 Changes --- - `WriteTagCheck` now extends `AbstractJavadocCheck` instead of `AbstractCheck` to directly process Javadoc AST nodes - Replaced regex-based line matching (`LINE_SPLIT_PATTERN` and `tagRegExp`) with AST node traversal...
Parent issue: #19798 ## Description Add Checkstyle checks for rules under §3.8 - Wrapping Lines (Wrapping Method Declarations) of the OpenJDK Java Style Guidelines v6. ## Rules Covered From [§3.8.1...
Follow-up of #19756 Background --- Putting violation comments (i.e. `// violation xxx`) inside Javadoc is considered a bad practice as they visually mix with target code. For example, **Bad** ```java...
Issue: #19156 Fixed false negative of VariableDeclarationUsageDistanceCheck not reporting violation when - The check's property `validateBetweenScopes` is set to `true`; - The variable definition and its first usage exceeds the...
Currently the [IntelliJ Setup Guide](https://checkstyle.org/idea.html) does not describe the step to exclude resource files from compilation, which is an unavoidable step if we wish to debug via IntelliJ's interface, as...
Parent issue: ~#19604~ #19798 Description --- Add Checkstyle checks for all rules under §3.10 - Variable Declarations of the OpenJDK Java Style Guidelines v6. Rules Covered --- From [§3.10 -...
I have read check documentation: https://checkstyle.org/checks/coding/simplifybooleanexpression.html I have downloaded the latest checkstyle from: https://checkstyle.org/cmdline.html#Download_and_Run I have executed the cli and showed it below, as cli describes the problem better than...
False Negative: FinalLocalVariableCheck does not report for variables assigned in adjacent catches
I have read check documentation: https://checkstyle.org/checks/coding/finallocalvariable.html I have downloaded the latest checkstyle from: https://checkstyle.org/cmdline.html#Download_and_Run I have executed the cli and showed it below, as cli describes the problem better than...
identified in https://github.com/checkstyle/checkstyle/pull/19651#discussion_r3118601002 Problem --- The config `checkstyle-input-checks.xml` is used in `ant_phase_verify.xml` to flag input files that have reference to checkstyle's own files or `//ok` comments without an explanation. However,...