Branch: refs/heads/main
Home: https://github.com/pmd/pmd
Commit: 94896cd0a985ca6d0bdabdf1658a7aa5f3b3d059
https://github.com/pmd/pmd/commit/94896cd0a985ca6d0bdabdf1658a7aa5f3b3d059
Author: mrclmh <[email protected]>
Date: 2025-12-04 (Thu, 04 Dec 2025)
Changed paths:
M
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/OnlyOneReturnRule.java
M
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/codestyle/xml/OnlyOneReturn.xml
Log Message:
-----------
Feat: Introduce ignoredMethodNames for OnlyOneReturn
Introduce the property ignoredMethodNames, which defaults to compareTo
and equals as common methods with multiple returns.
The property is a String List to align with other ignore properties:
ignoredFieldNames and ignoredAnnotations.
Commit: d4dc19f66e0193d705b4ad9ec4bd8dad63b1e113
https://github.com/pmd/pmd/commit/d4dc19f66e0193d705b4ad9ec4bd8dad63b1e113
Author: Andreas Dangel <[email protected]>
Date: 2025-12-22 (Mon, 22 Dec 2025)
Changed paths:
M
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/codestyle/xml/OnlyOneReturn.xml
Log Message:
-----------
[java] OnlyOneReturn - add test case for new property
Commit: a2355c355d758a97d23d5132df7a280389444487
https://github.com/pmd/pmd/commit/a2355c355d758a97d23d5132df7a280389444487
Author: Andreas Dangel <[email protected]>
Date: 2025-12-22 (Mon, 22 Dec 2025)
Changed paths:
M docs/pages/release_notes.md
Log Message:
-----------
[doc] Update release notes (#4257, #6309)
Commit: 8eb7137df914e37c5dfa82f4069393077826a0c5
https://github.com/pmd/pmd/commit/8eb7137df914e37c5dfa82f4069393077826a0c5
Author: Andreas Dangel <[email protected]>
Date: 2025-12-22 (Mon, 22 Dec 2025)
Changed paths:
M docs/pages/release_notes.md
M
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/OnlyOneReturnRule.java
M
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/codestyle/xml/OnlyOneReturn.xml
Log Message:
-----------
[java] Fix #4257: Allow ignoring methods in OnlyOneReturn (#6309)
Compare: https://github.com/pmd/pmd/compare/09e2c3cb7d9d...8eb7137df914
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