Branch: refs/heads/main
  Home:   https://github.com/pmd/pmd
  Commit: 698ac9517927c4f041f3a5481623d75b67ef9f81
      https://github.com/pmd/pmd/commit/698ac9517927c4f041f3a5481623d75b67ef9f81
  Author: Sören Glimm <[email protected]>
  Date:   2026-06-21 (Sun, 21 Jun 2026)

  Changed paths:
    A 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/PublicMemberInNonPublicTypeRule.java
    M pmd-java/src/main/resources/category/java/design.xml

  Log Message:
  -----------
  Rewrite PublicMemberInNonPublicTypeRule as Java


  Commit: c1d402c2277708b7c88bc82e2e2a9eb28bd88ac6
      https://github.com/pmd/pmd/commit/c1d402c2277708b7c88bc82e2e2a9eb28bd88ac6
  Author: Sören Glimm <[email protected]>
  Date:   2026-06-21 (Sun, 21 Jun 2026)

  Changed paths:
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/PublicMemberInNonPublicTypeRule.java
    M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/PublicMemberInNonPublicType.xml

  Log Message:
  -----------
  Fix #6460

Don't exclude all methods that override another method.
Just those, where visibility cannot be lowered,
because the method in the parent class is public.


  Commit: b8ca2d2bdbdf063e70ef18c2f3f1b514a2133a57
      https://github.com/pmd/pmd/commit/b8ca2d2bdbdf063e70ef18c2f3f1b514a2133a57
  Author: Sören Glimm <[email protected]>
  Date:   2026-06-21 (Sun, 21 Jun 2026)

  Changed paths:
    M docs/pages/release_notes.md

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


  Commit: 5c1060393dfe33ad9e74ab36fb5de75d1fa62354
      https://github.com/pmd/pmd/commit/5c1060393dfe33ad9e74ab36fb5de75d1fa62354
  Author: Sören Glimm <[email protected]>
  Date:   2026-06-22 (Mon, 22 Jun 2026)

  Changed paths:
    M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/PublicMemberInNonPublicType.xml

  Log Message:
  -----------
  Verify location of violation for variable declarations with initializers.

Example:
class Wrong {
    public int field = 0;
               ^^^^^^^^^ old version would violate this part
               ^^^^^ new version only violates this part
}


  Commit: f631994df1fd2c3a100e16015fafeb9d7c2e32f6
      https://github.com/pmd/pmd/commit/f631994df1fd2c3a100e16015fafeb9d7c2e32f6
  Author: Sören Glimm <[email protected]>
  Date:   2026-06-22 (Mon, 22 Jun 2026)

  Changed paths:
    M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/PublicMemberInNonPublicType.xml

  Log Message:
  -----------
  fix spelling


  Commit: 68a7f83490328d606afb8547d1e40a45904dcd4c
      https://github.com/pmd/pmd/commit/68a7f83490328d606afb8547d1e40a45904dcd4c
  Author: Andreas Dangel <[email protected]>
  Date:   2026-06-23 (Tue, 23 Jun 2026)

  Changed paths:
    M docs/pages/release_notes.md
    A 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/PublicMemberInNonPublicTypeRule.java
    M pmd-java/src/main/resources/category/java/design.xml
    M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/PublicMemberInNonPublicType.xml

  Log Message:
  -----------
  [java] Fix #6460: Fix false negative for overridden methods in 
PublicMemberInNonPublicType (#6796)


Compare: https://github.com/pmd/pmd/compare/404920b32ed9...68a7f8349032

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