Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #13345 Enable UnnecessarySemicolonAfterOuterTypeDeclarationChec… #14850

Conversation

prathm3
Copy link
Contributor

@prathm3 prathm3 commented May 3, 2024

Issue: #13345

Changes done as a part of PR

  1. changed Example.txt files to Example.java files
  2. Changed their references in src/xdocs/checks/coding/unnecessarysemicolonafteroutertypedeclaration.xml.template
  3. updated src/xdocs/checks/coding/unnecessarysemicolonafteroutertypedeclaration.xml with new changes
  4. src/xdocs-examples/java/com/puppycrawl/tools/checkstyle/checks/coding/UnnecessarySemicolonAfterOuterTypeDeclarationCheckExamplesTest.java - Removed disabled annotation, updated tests with new Example.java file

@prathm3 prathm3 force-pushed the EnableUnnecessarySemicolonAfterOuterTypeDeclarationTest branch from bcec230 to 9f50210 Compare May 3, 2024 09:47
@romani
Copy link
Member

romani commented May 3, 2024

@prathm3 , please fix CI failures.

@prathm3 prathm3 force-pushed the EnableUnnecessarySemicolonAfterOuterTypeDeclarationTest branch 2 times, most recently from 19b0f59 to 7080b53 Compare May 4, 2024 04:29
@prathm3
Copy link
Contributor Author

prathm3 commented May 4, 2024

@prathm3 , please fix CI failures.

Please review, All checks have passed.

Comment on lines 14 to 19
class Example2 {

}; // violation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add nested class here to make the structure of both examples is exactly the same
rule no. 1 in #13345 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@prathm3 prathm3 force-pushed the EnableUnnecessarySemicolonAfterOuterTypeDeclarationTest branch from 7080b53 to a384769 Compare May 5, 2024 05:48
@mahfouz72
Copy link
Member

Github, generate site

Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok to merge, thanks a lot for contribution

@romani romani merged commit 6daffc6 into checkstyle:master May 5, 2024
114 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants