Vivek Singh Solanki

Results issues of Vivek Singh Solanki

Part of Issue #17299: Converted the following classes to records: - `CustomImportOrderCheck.ImportDetails` - `MultiFileRegexpHeaderCheck.MatchResult` - `MultiFileRegexpHeaderCheck.HeaderFileMetadata` - Also updated `XdocsJavaDocsTest` to handle `RECORD_DEF` tokens.

Issue #17561: This PR extends `MissingOverrideCheck` to enforce `@Override` annotation on record accessor methods. Record accessors override compiler generated implicit accessors and must be explicitly marked. ## Changes - **Validation**:...

detected at: https://github.com/checkstyle/checkstyle/pull/19043#issuecomment-3986332943 `postProcessCheckstyleReport()` in diff.groovy reads the entire checkstyle-result.xml into a single Java String ([diff.groovy](https://github.com/checkstyle/contribution/blob/1392c4a4bbb95f53acb72518ba3a4173732e3e30/checkstyle-tester/diff.groovy#L708-L717)) ``` def content = checkstyleResultFile.text content = content.replace(oldPath, newPath) checkstyleResultFile.text = content ``` For...

Added PreferJavadocInlineTagsCheck to checks-nonjavadoc-error.xml

Added WhitespaceBeforeEmptyBodyCheck to checks-nonjavadoc-error.xml

Related to: https://github.com/checkstyle/checkstyle/pull/18312

Issue #20271 `UnnecessarySemicolonAfterTypeMemberDeclaration` did not flag the trailing semicolon after a type declared in a JEP 512 compact source file (`class Inner { };`). ### Fix `ScopeUtil.isOuterMostType` now treats the...

Issue #20223: DeclarationOrder skipped all top-level members of a compact source file. Its ordering logic is gated on the parent being OBJBLOCK, but in a compact file the members belong...

Issue #20219: AnnotationLocationCheck skipped annotations on top-level variables in compact source files. Its visitToken only treats a VARIABLE_DEF as a field when its parent is OBJBLOCK, but in a compact...

Parent Issue #19971 I have read check documentation: https://checkstyle.org/checks/coding/unnecessarysemicolonaftertypememberdeclaration.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...

bug
approved
false negative