Branch: refs/heads/main
  Home:   https://github.com/pmd/pmd
  Commit: d991791954636efc748b5ffc4d86a7acc76db1bb
      https://github.com/pmd/pmd/commit/d991791954636efc748b5ffc4d86a7acc76db1bb
  Author: Sören Glimm <[email protected]>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/FieldDeclarationsShouldBeAtStartOfClassRule.java
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/CyclomaticComplexityRule.java
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SwitchDensityRule.java

  Log Message:
  -----------
  Deprecate 3 methods:

FieldDeclarationsShouldBeAtStartOfClassRule.visit(ASTTypeDeclaration, Object)
CyclomaticComplexityRule.visitTypeDecl(ASTTypeDeclaration, Object)
SwitchDensityRule.visitSwitchLike(ASTSwitchLike, Object)

There is no need for these methods to be public, so I deprecated them.

This also serves as a prototype for future work on #4814. Completely
closing this issue will require a major release, but we can still do a
lot, I believe.


  Commit: 39fe4e8c3a6d8ae20af00e057cc71dca8d4f05e0
      https://github.com/pmd/pmd/commit/39fe4e8c3a6d8ae20af00e057cc71dca8d4f05e0
  Author: Sören Glimm <[email protected]>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M docs/pages/release_notes.md

  Log Message:
  -----------
  [doc] Update release notes (#6671)


  Commit: f306438a4f0de55179db80816f082fa290b2df5e
      https://github.com/pmd/pmd/commit/f306438a4f0de55179db80816f082fa290b2df5e
  Author: Andreas Dangel <[email protected]>
  Date:   2026-05-28 (Thu, 28 May 2026)

  Changed paths:
    M docs/pages/release_notes.md
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/FieldDeclarationsShouldBeAtStartOfClassRule.java
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/CyclomaticComplexityRule.java
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SwitchDensityRule.java

  Log Message:
  -----------
  [java] Part of #4841: Deprecate unnecessary public methods in 
FieldDeclarationsShouldBeAtStartOfClassRule/CyclomaticComplexityRule/SwitchDensityRule
 (#6671)


Compare: https://github.com/pmd/pmd/compare/ca5bfe4a6660...f306438a4f0d

To unsubscribe from these emails, change your notification settings at 
https://github.com/pmd/pmd/settings/notifications


_______________________________________________
Pmd-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmd-commits

Reply via email to