28023 Commits

Author SHA1 Message Date
Andreas Dangel
d37769e71c Bump builds-tools from 25-SNAPSHOT to 25 2024-05-31 10:40:36 +02:00
Andreas Dangel
2a0cba7b91 [java] Improve LocalVariableCouldBeFinal (#5003)
Merge pull request #5003 from oowekyala:issue1619-localVariableCouldBeFinal-FP
2024-05-31 10:39:37 +02:00
Andreas Dangel
8a8402a0bd [doc] Update release notes (#1619, #3122, #5003) 2024-05-31 10:37:05 +02:00
Andreas Dangel
3890b561a1 [java] Remove FPs in UnnecessaryBoxing (#5019)
Merge pull request #5019 from oowekyala:issue4903-unnecessaryboxing
2024-05-31 10:06:36 +02:00
Andreas Dangel
224f5b8303 [doc] Update release notes (#4903, #4924, #5019) 2024-05-31 09:59:35 +02:00
Andreas Dangel
910c0985ca [core] Fix Kotest based tests (#5022)
Merge pull request #5022 from adangel:kotest-fixes
2024-05-31 09:57:29 +02:00
Andreas Dangel
37451931dc [test] Add missing junit jupiter engine 2024-05-31 09:48:56 +02:00
Andreas Dangel
a05faf9837 Merge branch 'master' into kotest-fixes 2024-05-31 09:48:46 +02:00
Clément Fournier
4ea0c07162 Fix pmd warning 2024-05-23 21:17:17 +02:00
Clément Fournier
edb733f835 Add test for UnnecessaryCast 2024-05-23 21:10:58 +02:00
Clément Fournier
1bde246b8b Fix some FNs 2024-05-23 21:07:27 +02:00
Clément Fournier
f1fc7aacbe Merge branch 'master' into issue4903-unnecessaryboxing 2024-05-23 20:15:47 +02:00
Andreas Dangel
f30b535f61 Update pmd-designer 7.2.0-SNAPSHOT 2024-05-23 18:20:08 +02:00
Juan Martín Sotuyo Dodero
b284ca6ec8 Merge branch 'pr-5035' 2024-05-23 09:47:04 -03:00
Juan Martín Sotuyo Dodero
b2f6c9a85a Update changelog, refs #5029 2024-05-23 09:46:43 -03:00
Andreas Dangel
d7025a65dc [doc] Update all-contributors
- Add @bobalicious as a contributor
- Update @mluckam as a contributor
- Add @mdagcilar as a contributor
- Add @kesslerj as a contributor
- Add @Gold856 as a contributor
2024-05-23 11:32:46 +02:00
Andreas Dangel
a4edb67054 [java] Make naming conventions rule skip unnamed variables (#5004)
Merge pull requets #5004 from oowekyala:issue4954-local-var-unnamed
2024-05-23 11:26:55 +02:00
Andreas Dangel
a936852ba2 Add @cowwoc as a contributor 2024-05-23 11:25:32 +02:00
Andreas Dangel
f36e25dd04 Merge branch 'master' into pr-5004 2024-05-23 11:19:09 +02:00
Andreas Dangel
fe8920a4fc [doc] Update release notes (#4954, #5028, #5004) 2024-05-23 10:25:06 +02:00
Andreas Dangel
a54dc1ea89 [java] Add Java8TreeDumpTest for UnnamedVariable
Refs #5004
2024-05-23 10:24:31 +02:00
Andreas Dangel
9e72ee26ae [java] Fix #4990 - Add attribute @PackageQualifier to ASTClassType
Merge pull request #5005 from oowekyala:issue4990-package-qualifier-attribute
2024-05-23 09:46:55 +02:00
Andreas Dangel
5bc0ab0403 [doc] Update release notes (#4990, #5005) 2024-05-23 09:45:08 +02:00
Andreas Dangel
ec30fe1b01 Update gems
- Bump nokogiri from 1.16.2 to 1.16.5
- Bump rexml from 3.2.6 to 3.2.8

Fixes https://github.com/pmd/pmd/security/dependabot/52
Fixes https://github.com/pmd/pmd/security/dependabot/53
Fixes https://github.com/advisories/GHSA-r95h-9x8f-r3f7
Fixes https://github.com/pmd/pmd/security/dependabot/56
Fixes https://github.com/pmd/pmd/security/dependabot/57
Fixes https://github.com/advisories/GHSA-vg3r-rm7w-2xgh
Fixes CVE-2024-35176
2024-05-23 08:43:31 +02:00
Clément Fournier
5b24bbea87 Fix #5029 - infinite recursion in TypeOps::projectUpwards 2024-05-22 17:00:25 +02:00
Clément Fournier
bbec7fd3a2 Add test for #4990
Ref #4946
2024-05-21 16:43:18 +02:00
Clément Fournier
6be50ec235 Merge branch 'master' into issue4990-package-qualifier-attribute 2024-05-21 16:10:34 +02:00
Clément Fournier
85c4f0f9ce Merge branch 'master' into kotest-fixes 2024-05-21 15:58:20 +02:00
Clément Fournier
762181d715 Merge branch 'pr/5020'
Ref #5020
2024-05-21 15:55:50 +02:00
Clément Fournier
d005ed197f Update release notes, ref #5020 2024-05-21 15:52:31 +02:00
Clément Fournier
a754bea5cf Merge branch 'master' into pr/5020 2024-05-21 15:47:28 +02:00
Clément Fournier
8b50584af4 Add some tests 2024-05-21 15:46:56 +02:00
Andreas Dangel
2d33d05d76 [java] Refactor kotest ParserTestSpec tests
- introduce parserTestContainer
- use either parserTest or parserTestContainer with should/doTest
- parserTestGroup is now private
  - this is to limit DSL options - with too many options maintainability suffers
  - parserTestContainer should be used instead
  - there were only 2 test classes, that used parserTestGroup
2024-05-20 13:25:06 +02:00
Clément Fournier
f1ac913a8b Update test references, add tests 2024-05-17 13:29:36 +02:00
Clément Fournier
04214b43ca Improve treatment of lambdas 2024-05-17 12:47:45 +02:00
Andreas Dangel
3be6df212c [doc] Update release notes (#5009) 2024-05-17 10:51:06 +02:00
Andreas Dangel
7d0355bae1 Use build-tools 25-SNAPSHOT
Refs pmd/build-tools#31
2024-05-17 10:51:05 +02:00
Andreas Dangel
087893a64d [java] Remove unused vars 2024-05-17 10:51:05 +02:00
Andreas Dangel
f009de5831 [java] Ensure there is a child test case for ParserTestSpec tests 2024-05-17 10:51:05 +02:00
Andreas Dangel
24c1093bf1 [java] Fix test BranchingExprsTestCases
- Renamed to BranchingExprsTests so that it is picked up by surefire
- Fix cast context
2024-05-17 10:51:04 +02:00
Gold856
e11376f1ef Fix AvoidUsingOctalValue false-positive 2024-05-17 00:32:13 -04:00
Juan Martín Sotuyo Dodero
ae76c8f293 Merge pull request #5021 from oowekyala/issue4885-method-not-accessible
[java] Remove redundant interface declarations in pmd-java
2024-05-16 13:18:19 -03:00
Clément Fournier
419ff13fe7 Add new tests 2024-05-16 18:04:01 +02:00
Clément Fournier
b640194f76 Fix FN with ternary 2024-05-16 16:38:13 +02:00
Clément Fournier
bd24b185ea Fix another FN with numeric contexts 2024-05-16 15:44:46 +02:00
Clément Fournier
798b2c31a1 Fix FN 2024-05-16 15:29:17 +02:00
Clément Fournier
4213083554 Remove redundant interface declarations in pmd-java
Related to #4885
2024-05-16 14:20:04 +02:00
Clément Fournier
ed18c9d746 Fix PMD warning 2024-05-16 13:52:29 +02:00
Clément Fournier
eb17c9aab7 Fix many problems with UnnecessaryBoxing 2024-05-15 21:49:35 +02:00
Clément Fournier
4cfe90cfdc Cleanup symtable factory 2024-05-15 09:36:39 +02:00