dependabot[bot]
41d8667a19
Bump net.java.dev.javacc:javacc from 5.0 to 7.0.13
...
Bumps [net.java.dev.javacc:javacc](https://github.com/javacc/javacc ) from 5.0 to 7.0.13.
- [Release notes](https://github.com/javacc/javacc/releases )
- [Changelog](https://github.com/javacc/javacc/blob/master/docs/release-notes.md )
- [Commits](https://github.com/javacc/javacc/commits/javacc-7.0.13 )
---
updated-dependencies:
- dependency-name: net.java.dev.javacc:javacc
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 03:44:20 +00:00
dependabot[bot]
b60b4d8a68
Bump com.google.protobuf:protobuf-java from 3.25.3 to 4.28.2 ( #5234 )
...
* Bump com.google.protobuf:protobuf-java from 3.25.3 to 4.28.2
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf ) from 3.25.3 to 4.28.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
- [Commits](https://github.com/protocolbuffers/protobuf/commits )
---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Cleanup comment about protobuf dependency
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andreas Dangel <andreas.dangel@pmd-code.org>
2024-10-18 16:42:52 +02:00
dependabot[bot]
99f4c9c044
Bump org.checkerframework:checker-qual from 2.11.1 to 3.48.1 ( #5276 )
...
Bumps [org.checkerframework:checker-qual](https://github.com/typetools/checker-framework ) from 2.11.1 to 3.48.1.
- [Release notes](https://github.com/typetools/checker-framework/releases )
- [Changelog](https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-2.11.1...checker-framework-3.48.1 )
---
updated-dependencies:
- dependency-name: org.checkerframework:checker-qual
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-18 16:04:35 +02:00
Andreas Dangel
656b9052ad
[java] CouplingBetweenObjects: improve violation message ( #5278 )
...
Merge pull request #5278 from adangel:coupling-between-objects-message
2024-10-18 15:40:54 +02:00
Andreas Dangel
f0375d61dd
[doc] Update release notes ( #5278 )
2024-10-18 15:39:52 +02:00
Andreas Dangel
a24c8aa002
[doc] Update release notes
2024-10-18 15:36:28 +02:00
Andreas Dangel
5ffb953191
[java] CouplingBetweenObjects: improve violation message
...
When we add the actual count to the message,
we can more easily verify that the rule works
as expected.
2024-10-18 10:42:42 +02:00
Juan Martín Sotuyo Dodero
d5faa1c74a
Merge pull request #5275 from adangel/javacc-wrapper-improvement
...
Use plugin-classpath to simplify javacc-wrapper.xml
2024-10-13 23:54:54 -03:00
Andreas Dangel
867b142ee4
Use plugin-classpath to simplify javacc-wrapper.xml
...
javacc is on the antrun plugin's classpath.
The javacc jar file doesn't need to be copied
explicitly.
2024-10-13 12:28:16 +02:00
Andreas Dangel
0ea42b94e0
Ignore generated antlr classes in coverage reports ( #5258 )
...
Merge pull request #5258 from Monits:ignore-generated-antlr
2024-10-13 12:27:30 +02:00
Andreas Dangel
f834b8744d
[doc] Update release notes ( #5258 )
2024-10-13 12:26:31 +02:00
Juan Martín Sotuyo Dodero
ab1976382a
Remove ant.contrib.jar property
2024-10-12 17:28:18 -03:00
Andreas Dangel
08bcf29190
[java] Fix #5253 : Support Boolean wrapper class for BooleanGetMethodName rule ( #5269 )
...
Merge pull request #5269 from Aryant-Tripathi:5253/feature/support-boolean-wrapper-in-get-method-rule
2024-10-12 18:04:14 +02:00
Andreas Dangel
85e0695ca6
Add @Aryant-Tripathi as a contributor
2024-10-12 18:02:07 +02:00
Andreas Dangel
47a59b1810
Add @phansys as a contributor
2024-10-12 18:01:45 +02:00
Andreas Dangel
e50234563e
[doc] Update release notes ( #5253 , #5269 )
2024-10-12 18:01:21 +02:00
Aryant Tripathi
9a123bff94
Support wrapper class in BooleanGetMethodName rule ( #5253 )\n \n - Updated XPath rule to include both primitive and wrapper class:\n (PrimitiveType[@Kind = 'boolean'] or ClassType[pmd-java:typeIs('java.lang.Boolean')])\n - Added test cases to ensure that methods returning are also flagged correctly.\n - Ensured the rule enforces consistent method naming for both primitive and wrapper types.
2024-10-11 22:37:01 +05:30
Aryant Tripathi
9077c6a71f
Support wrapper class in BooleanGetMethodName rule ( #5253 )\n \n - Updated XPath rule to include both primitive and wrapper class:\n (PrimitiveType[@Kind = 'boolean'] or ClassType[pmd-java:typeIs('java.lang.Boolean')])\n - Added test cases to ensure that methods returning are also flagged correctly.\n - Ensured the rule enforces consistent method naming for both primitive and wrapper types.
2024-10-11 22:34:07 +05:30
Aryant Tripathi
36f713b4c7
Merge branch 'pmd:main' into 5253/feature/support-boolean-wrapper-in-get-method-rule
2024-10-11 22:30:29 +05:30
Aryant Tripathi
ed6312e3ba
Support wrapper class in BooleanGetMethodName rule ( #5253 )\n \n - Updated XPath rule to include both primitive and wrapper class:\n (PrimitiveType[@Kind = 'boolean'] or ClassType[pmd-java:typeIs('java.lang.Boolean')])\n - Added test cases to ensure that methods returning are also flagged correctly.\n - Ensured the rule enforces consistent method naming for both primitive and wrapper types.
2024-10-11 22:29:42 +05:30
Andreas Dangel
8ac55e7ad7
Bump org.junit from 5.8.2 to 5.11.2 ( #5274 )
...
Also update junit-platform from 1.10.2 to 1.11.2
- Supersedes and closes #5260
- Supersedes and closes #5259
2024-10-11 16:42:42 +02:00
Andreas Dangel
6bd7a9db8e
[java] Fix NPE with empty pattern list ( #5264 )
...
Merge pull request #5264 from oowekyala:issue5261-npe-record-empty-components
2024-10-11 12:36:26 +02:00
Andreas Dangel
7655cfc63b
Add @gudzpoz as a contributor
2024-10-11 12:35:45 +02:00
Andreas Dangel
fbde9b967f
[doc] Update release notes ( #5261 , #5264 )
2024-10-11 12:35:19 +02:00
Aryant Tripathi
8b2af2db8a
Support wrapper class in BooleanGetMethodName rule ( #5253 )
...
- Updated XPath rule to include both primitive and wrapper class:
(PrimitiveType[@Kind = 'boolean'] or ClassType[pmd-java:typeIs('java.lang.Boolean')])
- Added test cases to ensure that methods returning are also flagged correctly.
- Ensured the rule enforces consistent method naming for both primitive and wrapper types.
2024-10-10 20:44:06 +05:30
Aryant Tripathi
54dfabea9b
Support Boolean wrapper class for BooleanGetMethodName rule ( #5253 )
2024-10-09 10:00:02 +05:30
Clément Fournier
b724b4dd33
Fix DataflowPassTest
2024-10-07 18:18:32 +02:00
Clément Fournier
2c1a7f026e
Fix NPE with empty pattern list
2024-10-07 16:51:50 +02:00
Juan Martín Sotuyo Dodero
f68130eaf9
Annotate Antlr generated classes for PMD languages
2024-10-06 20:07:47 -03:00
Juan Martín Sotuyo Dodero
31018611c6
Add missing lexer properties
2024-10-06 20:07:37 -03:00
Juan Martín Sotuyo Dodero
e3cd599da2
Add @Generated annotations to cpd Antlr languages
2024-10-06 19:58:43 -03:00
Juan Martín Sotuyo Dodero
ca71d76553
Include up-to-date-check to Antlr4 cpd
...
- Prevent unnecessary re-runs
2024-10-06 19:48:30 -03:00
Juan Martín Sotuyo Dodero
93a019765d
Fix incorrect properties
2024-10-06 17:24:42 -03:00
Juan Martín Sotuyo Dodero
00bf6fe2f7
Fix @since for @Generated
2024-10-06 17:21:30 -03:00
Andreas Dangel
a0818d5ab2
[doc] Document renamed/old rule names
2024-10-04 15:54:21 +02:00
Andreas Dangel
5ce4d292fa
[java] Fix #5067 : CloseResource: False positive for FileSystems.getDefault() ( #5225 )
...
Merge pull request #5225 from lukasgraef:issue5067
2024-10-04 10:06:18 +02:00
Andreas Dangel
d2c42d2426
[doc] Update release notes ( #5067 , #5225 )
2024-10-04 10:05:48 +02:00
Andreas Dangel
c6fd064054
Merge branch 'main' into pr-5225
2024-10-04 10:02:40 +02:00
Andreas Dangel
07cd250a74
Fix release_notes.md
2024-10-04 10:00:53 +02:00
Andreas Dangel
c0023dd942
[java] Rename UnitTestShouldIncludeAssert again
...
to make it consistent and always use singular "UnitTest"
Follow-up on #4532 and #4965
2024-10-04 09:32:55 +02:00
Andreas Dangel
9fbaa4fbfb
[java] Update quickstart.xml with renamed UnitTest* rules
2024-10-04 09:25:21 +02:00
Juan Martín Sotuyo Dodero
7d4961f303
Update README.md
...
Point coveralls to main branch
2024-10-03 17:47:01 -03:00
Andreas Dangel
b7c4a5e492
Ignore javacc code in coverage report ( #5241 )
...
Merge pull request #5241 from Monits:ignore-javacc-code
2024-10-03 20:30:41 +02:00
Andreas Dangel
d77a63da95
[doc] Update release notes ( #5241 )
2024-10-03 20:29:53 +02:00
Andreas Dangel
463ca964dc
[java] Rename JUnit rules with overly restrictive names ( #4965 )
...
Merge pull request #4965 from Monits:issue-4532
2024-10-03 20:07:50 +02:00
Andreas Dangel
57497738c1
[doc] Update release notes ( #4532 , #4965 )
2024-10-03 20:06:21 +02:00
Andreas Dangel
525435bd68
[java] Keep bestpractices.xml sorted alphabetically
2024-10-03 19:59:29 +02:00
Andreas Dangel
c5246eca46
Renamed JUnit4TestShouldUseAfterAnnotation
...
- call it UnitTest... to be agnostic to the testing framework
2024-10-03 19:52:56 +02:00
Andreas Dangel
4796da0fb2
Renamed JUnit4TestShouldUseBeforeAnnotation
...
- call it UnitTest... to be agnostic to the testing framework
2024-10-03 19:51:13 +02:00
lukasgraef
7dcab3f189
Fix static analysis findings
2024-09-30 20:48:20 +02:00