5144 Commits

Author SHA1 Message Date
Andreas Dangel
4d2034ef0f
[java] FP for UnusedPrivateMethod with Jakarta @PostConstruct/PreDestroy annotations (#5118)
Merge pull request #5118 from kdebski85:issue-5117-unused-private-method-jakarta
2024-07-19 14:48:03 +02:00
Andreas Dangel
f128bd7162
[doc] Update release notes (#5118, #5117) 2024-07-19 14:46:11 +02:00
Andreas Dangel
98710abade
[java] Exclude constructor with lombok.Builder for MissingStaticMethodInNonInstantiatableClass (#5109)
Merge pull request #5109 from kdebski85:issue-5108-lombok-builder
2024-07-19 14:40:50 +02:00
Andreas Dangel
8462c75077
[doc] Update release notes (#5109, #1488) 2024-07-19 14:39:17 +02:00
Andreas Dangel
abe6a5fe4b
Add @tomasvts as a contributor 2024-07-19 14:05:39 +02:00
Andreas Dangel
b176ca72c1
[javascript] Correctly determine double inaccuracy
Fixes #4716
2024-07-19 14:05:32 +02:00
Andreas Dangel
8c7a5d0664
[cli] Fix pmd.bat for Windows when starting designer with JAVAFX_HOME
Fixes #5120
2024-07-19 10:17:27 +02:00
Andreas Dangel
14238ee93e
[doc] Fix release notes 2024-07-18 16:00:48 +02:00
Andreas Dangel
404a2ea77f
[doc] Fix release notes 2024-07-18 12:37:32 +02:00
Andreas Dangel
669f883a99
[apex] Consider VariableDeclarationGroup in ApexTreeBuilder (#5099)
Merge pull request #5099 from adangel:apex-issue-5094
2024-07-18 12:10:21 +02:00
Andreas Dangel
090bd1208b
[apex] ApexUnitTestShouldNotUseSeeAllDataTrue: case-insensitive check (#5098)
Merge pull request #5098 from adangel:apex-issue-5095
2024-07-18 12:06:20 +02:00
Andreas Dangel
cf4df4bf13
[apex] New Rule: AvoidNonRestrictiveQueries (#5089)
Merge pull request #5089 from adangel:apex-issue-635-avoid-non-restrictive-queries
2024-07-18 12:02:21 +02:00
Andreas Dangel
4ec05d0aa4
[doc] Update release notes (#5048, #4800) 2024-07-18 11:29:41 +02:00
Andreas Dangel
96b1e890e1
Add @justinstroudbah as a contributor 2024-07-18 11:26:06 +02:00
Andreas Dangel
fb6638c40d
[doc] Update release notes (#635)
Fixes #635
2024-07-12 09:44:25 +02:00
Andreas Dangel
f62d038a8d
[doc] Update maven.md - Typo fixed for maven target (#5107)
Merge pull request #5107 from karthikaiyasamy:patch-1
2024-07-11 11:05:15 +02:00
Andreas Dangel
f574b0d6fe
[doc] Update release notes (#5107) 2024-07-11 11:03:25 +02:00
Andreas Dangel
a3bcb47068
Add @karthikaiyasamy as a contributor 2024-07-11 11:03:15 +02:00
Andreas Dangel
8feb1ef80d
[doc] Update release notes (#5088) 2024-07-11 10:32:42 +02:00
Andreas Dangel
a2a10b4403
[doc] Update release notes (#5087) 2024-07-11 10:16:47 +02:00
Andreas Dangel
dcb56dc04f
[doc] Update release notes (#5086) 2024-07-11 09:16:46 +02:00
Andreas Dangel
b5127b3c7b
Add @duursma as a contributor 2024-07-11 09:16:19 +02:00
karthikaiyasamy
dab088ba68
Update maven.md - Typo fixed for maven target
It should be "mvn compile" not "mvn complile".
2024-07-10 09:16:31 -07:00
Andreas Dangel
9bf476ac4f
[core] Don't log warning about skipLexicalErrors twice
Fixes #5091
2024-07-05 12:07:28 +02:00
Andreas Dangel
6714c8bef2
Add @ethan-sargent as a contributor 2024-07-04 12:36:27 +02:00
Andreas Dangel
dfdb63ba5b
[apex] Consider VariableDeclarationGroup in ApexTreeBuilder
- Throw parse exception, when a node is not handled
- Use ApexTreeDumpTest for SwitchStatements.cls

Fixes #5094
2024-07-04 12:36:05 +02:00
Andreas Dangel
68300298ef
Add @gearsethenry as a contributor 2024-07-04 12:13:13 +02:00
Andreas Dangel
d0928cc185
[apex] ApexUnitTestShouldNotUseSeeAllDataTrue: case-insensitive check
The annotation parameter name "seeAllData" is now compared
case-insensitive.

Fixes #5095
2024-07-04 11:48:11 +02:00
Andreas Dangel
d952a10790
[release] Prepare next development version [skip ci] 2024-06-28 11:27:41 +02:00
Andreas Dangel
2d07aa7561
Prepare pmd release 7.3.0 2024-06-28 10:42:31 +02:00
Andreas Dangel
93e3020a1d
[doc] Update all-contributors
- Add @stephen-carter-at-sf as a contributor
- Add @Meijuh as a contributor
- Add @codefriar as a contributor
- Add @szymanp23 as a contributor
- Add @johnzhao9 as a contributor
2024-06-28 10:35:57 +02:00
Andreas Dangel
52b2b52c5c
[plsql,tsql] Fix CPD being case sensitive in PLSQL and TSQL (#4943)
Merge pull request #4943 from oowekyala:issue4396-cpd-case-sensitive
2024-06-28 08:30:14 +02:00
Andreas Dangel
a9d43d0ad0
[doc] Update release notes (#5090, #5066) 2024-06-28 08:27:34 +02:00
Andreas Dangel
12b9ecefb1
[doc] Update release notes (#4396) 2024-06-27 21:18:04 +02:00
Andreas Dangel
06ba547811
[java] Make impl of ASTLiteral#getLiteralText() public (#5078)
Merge pull request #5078 from adangel:issue-4885-method-should-be-accessible
2024-06-27 14:49:13 +02:00
Andreas Dangel
09aa71aed5
Remove pmd-compat6 (breaking change) (#5076)
Merge pull request #5076 from adangel:remove-compat6
2024-06-27 14:45:44 +02:00
Andreas Dangel
e93ca46b5a
[cli] Add exit code for processing errors (#4991)
Merge pull request #4991 from adangel:cli-exit-codes-processing-errors
2024-06-27 14:41:51 +02:00
Andreas Dangel
261d4d198c
[plsql] Support exception handlers in compound triggers (#5065)
Merge pull request #5065 from adangel:plsql-4270-trigger-declarations
2024-06-27 14:08:39 +02:00
Andreas Dangel
fbc5ddb103
[java] Add new rule UseEnumCollections (#5038)
Merge pull request #5038 from oowekyala:issue577-new-rule-use-enum-collections
2024-06-27 14:07:31 +02:00
Andreas Dangel
775baa0b74
[java] Implement record patterns and fix switch pattern scoping (#5051)
Merge pull request #5051 from oowekyala:java-implement-switch-bindings-and-record-pats
2024-06-27 14:06:31 +02:00
Andreas Dangel
cd41d70546
[apex] UnusedLocalVariable - support concat strings for binding vars (#5037)
Merge pull request #5037 from adangel:issue-5000-apex-unused-local-variable
2024-06-27 11:51:57 +02:00
Andreas Dangel
1680e94eea
[apex] Update summit-ast and apex-parser (#4977)
Merge pull request #4977 from adangel:apex-4922-typeof
2024-06-27 11:45:23 +02:00
Andreas Dangel
bc0b2c9763
Merge branch 'master' into pr-5038 2024-06-27 11:41:13 +02:00
Andreas Dangel
bf8e11d9b4
[doc] Update release notes (#577, #5038) 2024-06-27 11:40:18 +02:00
Andreas Dangel
c2a7c46ccd
Merge branch 'master' into pr-5051 2024-06-27 11:00:56 +02:00
Andreas Dangel
31b4e3745a
[doc] Update release notes (#5050, #5051) 2024-06-27 10:49:20 +02:00
Andreas Dangel
b5f6d4e68a
[core] Update report schema location to https://pmd.github.io/schema/report_2_0_0.xsd 2024-06-27 09:11:26 +02:00
Andreas Dangel
9430a27961
Merge branch 'master' into apex-4922-typeof 2024-06-24 21:18:46 +02:00
Andreas Dangel
33f9268cf7
[core] Provide a backwards compatible XMLOldRenderer as "xmlold" 2024-06-23 20:42:45 +02:00
Andreas Dangel
d76a38805b
[doc] Update to 7.3.0 2024-06-21 19:36:15 +02:00
Andreas Dangel
727fb1597d
Merge branch 'master' into cpd-report-processing-errors 2024-06-21 19:30:35 +02:00
Andreas Dangel
d285082709
Updated doc to mention 7.3.0 2024-06-21 19:23:55 +02:00
Andreas Dangel
724b3afe95
Merge branch 'master' into cli-exit-codes-processing-errors 2024-06-21 19:14:17 +02:00
Andreas Dangel
18c30415d0
[java] Make impl of ASTLiteral#getLiteralText() public
Fixes #4885
2024-06-20 15:26:21 +02:00
Juan Martín Sotuyo Dodero
923873fec8
Merge pull request #5075 from adangel/doc-release-schedule-support
[doc] Release schedule, version policies, support lifecycle
2024-06-20 10:11:23 -03:00
Andreas Dangel
5014bee7ba
[doc] Update gradle docs 2024-06-20 15:02:27 +02:00
Andreas Dangel
563ad76fe9
Remove pmd-compat6
It's already deprecated. It was intended to be used with
older versions of the maven-pmd-plugin, but since
maven-pmd-plugin 3.22.0, PMD 7 is supported directly and this
module is not needed anymore.
2024-06-20 14:36:22 +02:00
Andreas Dangel
dafa113fbc
[doc] Release schedule, version policies, support lifecycle 2024-06-20 12:10:42 +02:00
Andreas Dangel
0dd8fc791b
[java] Fix #5047 - type inference with enum #5052
Merge pull request #5052 from oowekyala:issue5047-inference-with-enum
2024-06-13 11:25:46 +02:00
Andreas Dangel
3c6190ecab
[doc] Update release notes (#5047) 2024-06-13 11:24:40 +02:00
Andreas Dangel
51bfb96414
Add @anuragagarwal561994 as a contributor 2024-06-13 11:24:23 +02:00
Andreas Dangel
7a57aeb4db
[plsql] Support exception handlers in compound triggers
- allow multiple exception handlers
- parse declarative section correctly in
  compound triggers
- CASE, CURSOR, DECLARE, EXECUTE, IF, PUBLIC, SQL are reserved words
  and cannot be used as an identifiers

Fixes #4270
2024-06-13 09:29:22 +02:00
Juan Martín Sotuyo Dodero
0afe6aec78
Merge branch 'master' into plsql-1934-merge-into 2024-06-07 23:12:57 -03:00
Juan Martín Sotuyo Dodero
40e9350649
Merge branch 'master' into plsql-1934-merge-into 2024-06-07 16:09:19 -03:00
Juan Martín Sotuyo Dodero
0d83a85857
Merge branch 'master' into plsql-2779-error-logging 2024-06-07 16:08:56 -03:00
Andreas Dangel
9d803282d9
[apex] Use case-insensitive lexer for CPD
This makes it consistent with how the ApexParser
reads the files. And the case-sensitive ANTLR
rules (e.g. for string literals) work that
way.

Fixes #5053
2024-06-07 19:24:26 +02:00
Andreas Dangel
d47ca10029
[plsql] Support Error Logging in INSERT, UPDATE, DELETE
Fixes #2779
2024-06-07 12:16:43 +02:00
Andreas Dangel
72bf5d07b4
[plsql] Support MERGE statement
Fixes #1934
2024-06-07 11:20:50 +02:00
Andreas Dangel
6595be09ac
[doc] Update release notes (#4922, #5055) 2024-06-06 16:28:45 +02:00
Andreas Dangel
8b96c0fe7e
[apex] Update summit-ast and apex-parser
Fixes #4922
2024-06-06 15:49:20 +02:00
Andreas Dangel
28c6c8e121
[release] Prepare next development version [skip ci] 2024-05-31 13:21:14 +02:00
Andreas Dangel
27a14cc61e
Prepare pmd release 7.2.0 2024-05-31 12:33:41 +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
a05faf9837
Merge branch 'master' into kotest-fixes 2024-05-31 09:48:46 +02:00
Andreas Dangel
f30b535f61
Update pmd-designer 7.2.0-SNAPSHOT 2024-05-23 18:20:08 +02:00
Andreas Dangel
3f5dc971e0
Add @pablogomez2197 as a contributor 2024-05-23 16:18:40 +02:00
Andreas Dangel
4d07d80c93
[apex] UnusedLocalVariable - support concat strings for binding vars
Fixes #5000
2024-05-23 16:13:45 +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
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
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
85c4f0f9ce
Merge branch 'master' into kotest-fixes 2024-05-21 15:58:20 +02:00
Clément Fournier
d005ed197f
Update release notes, ref #5020 2024-05-21 15:52:31 +02:00
Andreas Dangel
0fe477ec06
Fixups from PR review
- release notes: API Changes
- fix javadoc since tags
- improve messages in ant task for deprecated skipLexicalErrors
2024-05-20 09:25:06 +02:00
Andreas Dangel
10c78f26de
[cpd] Deprecate skipLexicalErrors 2024-05-17 16:20:23 +02:00
Andreas Dangel
b624b41673
[ant] Add new CPD parameter failOnError 2024-05-17 16:20:23 +02:00
Andreas Dangel
06efd65b16
[cli] Rename new parameter to be --no-fail-on-error 2024-05-17 16:19:58 +02:00
Andreas Dangel
2d9385f462
Merge branch 'master' into cli-exit-codes-processing-errors 2024-05-17 14:01:57 +02:00
Andreas Dangel
3be6df212c
[doc] Update release notes (#5009) 2024-05-17 10:51:06 +02:00
Juan Martín Sotuyo Dodero
88b8adbca7
Merge branch 'master' into issue2368 2024-05-14 09:28:38 -03:00
Juan Martín Sotuyo Dodero
3f6184300c Merge branch 'pr-5013' 2024-05-14 09:25:33 -03:00
Juan Martín Sotuyo Dodero
746f64f8e2 Update changelog, refs #4042 2024-05-14 09:25:16 -03:00
Juan Martín Sotuyo Dodero
4472521605 Update changelog, refs #5006 2024-05-14 09:21:35 -03:00
Clément Fournier
8f23cbb556
Update release notes 2024-05-13 17:25:43 +02:00
Juan Martín Sotuyo Dodero
bce7991d2d
Merge pull request #4994 from oowekyala/pr-4982-fixes
[java] Fix incompatible class bounds not checked during incorporation #4982  (second PR)
2024-05-09 14:42:17 -03:00
Clément Fournier
e43312789f
Merge branch 'master' into pr/4969 2024-05-07 15:09:24 +02:00
Clément Fournier
62cc3b1349
fix release notes 2024-05-06 12:30:58 +02:00
Andreas Dangel
199591bbd8
[doc] Update about PMD sections
Refs #4842
2024-05-03 19:51:16 +02:00
Andreas Dangel
facbdd402c
[doc] Update last_updated tags
[skip ci]
2024-05-03 12:53:40 +02:00
Andreas Dangel
3e5b152a2c
[doc] Update release notes (#4992)
[skip ci]
2024-05-03 12:51:43 +02:00
Andreas Dangel
b3cf149f67
[core] CPD: Include processing errors in XML report 2024-05-03 12:22:02 +02:00
Andreas Dangel
a63cfb8228
[doc] New exit code 5, --no-fail-on-processing-error
Fixes #2827
2024-05-03 10:28:46 +02:00
Juan Martín Sotuyo Dodero
722f25ba86
Merge branch 'master' into xpath-seq-attributes 2024-05-02 13:06:03 -03:00
Juan Martín Sotuyo Dodero
6fd230e7aa
Update docs/pages/release_notes.md
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2024-05-02 13:05:17 -03:00
Juan Martín Sotuyo Dodero
895cfbf266
Update docs/pages/release_notes.md
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2024-05-02 13:05:04 -03:00
Juan Martín Sotuyo Dodero
18c59b2891
Merge branch 'master' into issue-4980 2024-05-02 10:23:21 -03:00
Andreas Dangel
a2139be00b
[java] Fix impl of ASTVariableId::isResourceDeclaration / VariableId/@ResourceDeclaration (#4988)
Merge pull request #4988 from oowekyala:java-fix-isResourceDeclaration
2024-05-02 12:44:55 +02:00
Andreas Dangel
b6a933b4fc
[doc] Update release notes (#4988) 2024-05-02 12:43:53 +02:00
Andreas Dangel
435f0dc7b3
[java] Fix #4912 - grammar for TWR allows this expression (#4934)
Merge pull request #4934 from oowekyala:issue4912-java-grammar-fix
2024-05-02 11:39:38 +02:00
Andreas Dangel
b7a39e39e9
Apply suggestions from code review 2024-05-02 11:34:43 +02:00
Andreas Dangel
42ffb31ca0
[cpd] Fix CPD crashes about unicode escapes (#4983)
Merge pull request #4983 from oowekyala:cpd-fix-crashes
2024-05-02 11:13:33 +02:00
Andreas Dangel
5bb6ece01a
[doc] Update release notes (#4983) 2024-05-02 11:12:37 +02:00
Andreas Dangel
f64fa3ed07
[doc] Update release notes (#4973) 2024-05-02 10:21:09 +02:00
Andreas Dangel
22a31c938d
[core] Actually duplicate the whole current config for RuleSetLoader (#4981)
Merge pull request #4981 from Monits:issue-4978
2024-05-01 20:32:27 +02:00
Andreas Dangel
4993c629ec
[doc] Update release notes (#4985) 2024-05-01 20:10:36 +02:00
Clément Fournier
bca5c0ec09
Remove usages of getStableName
Fix #4930
Fix bug with symbol table in concise resources
2024-04-30 15:26:16 +02:00
Clément Fournier
dbfabda735
Merge branch 'master' into issue4912-java-grammar-fix 2024-04-30 14:41:44 +02:00
Juan Martín Sotuyo Dodero
af3346455f Merge branch 'pr-4984' 2024-04-29 13:34:24 -03:00
Juan Martín Sotuyo Dodero
fa176cf316 Update changelog, refs 4852 2024-04-29 13:34:06 -03:00
Juan Martín Sotuyo Dodero
66606648a2
Merge branch 'master' into xpath-seq-attributes 2024-04-28 17:39:08 +02:00
Juan Martín Sotuyo Dodero
11e6cc53c5 Update docs on writing xpath rules 2024-04-28 12:23:56 -03:00
Juan Martín Sotuyo Dodero
56f12d41ea
Update docs/pages/release_notes.md
Co-authored-by: Clément Fournier <clem.fournier@proton.me>
2024-04-28 12:19:32 -03:00
Juan Martín Sotuyo Dodero
f24635b55c
Merge branch 'master' into issue-4532 2024-04-28 05:15:50 +02:00
Juan Martín Sotuyo Dodero
a77519399e Update changelog, refs #4980 2024-04-27 21:23:01 -03:00
Juan Martín Sotuyo Dodero
882e9ccd2d update changelog, refs #4978 2024-04-27 19:46:56 -03:00
Juan Martín Sotuyo Dodero
8756bf2dbd
Merge pull request #4976 from adangel/fix-release-script
Fix release scripts
2024-04-28 00:34:28 +02:00
Juan Martín Sotuyo Dodero
1cfbaeb737 Update changelog, refs #4278 2024-04-26 16:25:21 -03:00
Juan Martín Sotuyo Dodero
fd14796791 Update changelog, refs #4975 2024-04-26 16:01:12 -03:00
Andreas Dangel
629e3f8b83
[doc] Update releasing documentation 2024-04-26 15:39:46 +02:00
Andreas Dangel
6a1c7de03c
[doc] Restore release_notes_pmd7.md
Was accidentally removed by 339e1d4f436a27f6bb7d1891d835d3f8b4d173d0
2024-04-26 12:42:04 +02:00
Andreas Dangel
339e1d4f43
[release] Prepare next development version [skip ci] 2024-04-26 09:04:20 +02:00
Andreas Dangel
7d0dfa0b13
Prepare pmd release 7.1.0 2024-04-26 08:14:38 +02:00
Andreas Dangel
d0870f3aa3
[java] New rule ConfusingArgumentToVarargsMethod (#4971)
Merge pull request #4971 from oowekyala:new-rule-UnnecessaryVarargsArrayCreation
2024-04-25 11:40:35 +02:00
Andreas Dangel
a154f783bd
[doc] Update all-contributors
Add @BurovnikovEvgeniy as a contributor
Add @kohlschuetter as a contributor
Add @Luro02 as a contributor
Add @rs23 as a contributor
Add @andygoossens as a contributor
Add @mitchspano as a contributor
Add @mfvanek as a contributor
Add @VishV-Android as a contributor
2024-04-25 10:04:53 +02:00
Andreas Dangel
16df3dd446
[core] Make CPD report maximal, non-repeating and non-overlapping duplicates (#4966)
Merge pull request #4966 from Monits:issue-2438
Fixes #2438
2024-04-25 09:20:16 +02:00
Andreas Dangel
202943e0cf
[java] Fix #4948 - ImplicitSwitchFallthrough false positive with nested switch statement (#4963)
Merge pull request #4963 from oowekyala:issue4948-switch-fallthrough
2024-04-25 09:18:59 +02:00
Andreas Dangel
6f0de09ceb
[doc] Update release notes (#4963, #4948) 2024-04-25 09:18:08 +02:00
Clément Fournier
3765e45502
Merge branch 'master' into pr/4967 2024-04-23 10:31:25 +02:00
Clément Fournier
52c4f435a0
Split UnnecessaryVarargsArrayCreation into two rules
The new errorprone rule catches more cases (it doesn't
only care about array allocations).
2024-04-21 14:10:17 +02:00
Clément Fournier
3f667eab04
Add rule to quickstart ruleset 2024-04-20 13:04:56 +02:00
Clément Fournier
132a4629b6
Merge branch 'master' into new-rule-lambdacanbemethodref 2024-04-20 12:48:44 +02:00
Andreas Dangel
e01074f244
[doc] Add small logo variant 2024-04-19 16:41:54 +02:00
Juan Martín Sotuyo Dodero
f307e6e6cb Update changelog 2024-04-18 23:49:35 -03:00
Andreas Dangel
75f1ee8582
[java] Avoid NPE in CloseResourceRule (#4964, #4751)
Merge pull request #4964 from Monits:issue-4751
Fixes #4751
2024-04-18 20:58:12 +02:00
Andreas Dangel
c09abb2228
[core] Upgrade saxon to 12.4 (#4959)
Merge pull request #4959 from Monits:upgrade-saxon
2024-04-18 20:41:06 +02:00
Andreas Dangel
90861df5f8
[doc] Update release notes (#4959) 2024-04-18 20:39:13 +02:00
Juan Martín Sotuyo Dodero
536ffc61e7
Merge branch 'master' into issue-2438 2024-04-18 12:54:02 -03:00
Andreas Dangel
8e7a92b8f6
Merge branch 'master' into issue-4942-cpd-skip-duplicates 2024-04-18 17:04:10 +02:00
Andreas Dangel
ece69561fb
[java] Extend FinalCouldBeStatic to consider compile time constants (#4940, #2440)
Merge pull request #4940 from Monits:issue-2440
Fixes #2440
2024-04-18 16:57:01 +02:00
Andreas Dangel
915c5aa727
[doc] Update release notes (#3216, #4919) 2024-04-18 16:41:54 +02:00
Andreas Dangel
b42108d55a
[doc] Update release notes (#4967) 2024-04-18 10:17:17 +02:00
Juan Martín Sotuyo Dodero
701e78e8fe Update changelog 2024-04-18 01:02:45 -03:00
Juan Martín Sotuyo Dodero
61a7459247 Update changelog 2024-04-17 17:00:05 -03:00
Juan Martín Sotuyo Dodero
5b5ac5c07d Update changelog, refs #4751 2024-04-16 17:53:10 -03:00
Juan Martín Sotuyo Dodero
32680d5b83
Merge branch 'master' into issue4912-java-grammar-fix 2024-04-16 17:38:03 -03:00
Juan Martín Sotuyo Dodero
390db62cba Merge branch 'pr-4958' 2024-04-16 17:36:50 -03:00
Juan Martín Sotuyo Dodero
1be81a55cd Update changelog, refs #4947 2024-04-16 17:36:32 -03:00
Juan Martín Sotuyo Dodero
e0705e5b28 Update changelog, refs #4961 2024-04-16 17:34:12 -03:00
Clément Fournier
9f605552ee
Add one example 2024-04-15 15:25:59 +02:00
Clément Fournier
4dcdfb0d4f
Fix xpath expressions in documentation
Fix #4901
2024-04-15 15:21:57 +02:00
Andreas Dangel
2bddfd2b45
[core] Add a filter possibility to FileCollector
Fixes #4942
2024-04-12 12:44:55 +02:00
Andreas Dangel
a65975bf75
Add @mkolesnikov as a contributor 2024-04-11 14:52:30 +02:00
Andreas Dangel
62f215929c
[core] Disable Caching in URLConnection for ClasspathClassLoader
Fixes #4899
2024-04-11 14:52:30 +02:00
Juan Martín Sotuyo Dodero
89fff36818 Updte changelog, refs #2440 2024-04-07 02:33:48 -03:00
Juan Martín Sotuyo Dodero
d4b99bb047 Merge branch 'pr-4937' 2024-04-07 01:52:03 -03:00
Juan Martín Sotuyo Dodero
2c26e43ae9 Update changelog, refs #4779 2024-04-07 01:51:41 -03:00
Juan Martín Sotuyo Dodero
c81be9d17e Update changelog, refs #4902 2024-04-07 01:49:51 -03:00
Andreas Dangel
3203a80f27
[apex] Add ASTAnnotation#getRawName
Fixes #4418
2024-04-06 11:16:06 +02:00
Clément Fournier
eccd99bfd6
release notes 2024-04-05 16:36:48 +02:00
Andreas Dangel
84dc794a2d
Merge pull request #4917 from Monits:fix-4913
[cli] Properly wait for cpd-gui until close #4917
2024-04-05 15:33:27 +02:00
Juan Martín Sotuyo Dodero
0b74e0e18f Merge branch 'pr-4920' 2024-04-04 23:25:57 -03:00
Juan Martín Sotuyo Dodero
2159ed97bd Update changelog, refs #4602 and #4785 2024-04-04 23:25:29 -03:00
Juan Martín Sotuyo Dodero
b723da59ac
Merge branch 'master' into fix-4913 2024-04-04 23:18:58 -03:00
Juan Martín Sotuyo Dodero
1845400734
Merge branch 'master' into issue-4928-emptycatchblock 2024-04-04 18:12:31 -03:00
Juan Martín Sotuyo Dodero
0f45215817
Merge pull request #4926 from adangel/japicmp
[core] Add japicmp
2024-04-04 15:51:34 -03:00
Andreas Dangel
f87f24ef90
Merge pull request #4906 from Monits:fix-2056
[java] CloseResource should treat parameters as external even if casted when assigned to a local variable #4906
2024-04-04 17:38:51 +02:00
Andreas Dangel
07398ac557
[java] Fix EmptyCatchBlock with allowCommentedBlock
Fixes #4928
2024-04-04 17:27:49 +02:00
Andreas Dangel
bdcc7c5609
[doc] Update release notes (#3953) 2024-04-04 16:49:43 +02:00
Clément Fournier
bcb6859014
Merge branch 'master' into new-rule-lambdacanbemethodref 2024-04-04 16:49:19 +02:00
Andreas Dangel
6489cf7232
[doc] Update release notes (#494) 2024-04-04 15:52:21 +02:00
Andreas Dangel
e47eb352d5
[java] Restore compatibility of SingularFieldRule 2024-04-04 15:52:13 +02:00
Andreas Dangel
280b1a1ee3
Bump next version to be 7.1.0-SNAPSHOT 2024-04-04 10:49:18 +02:00
Andreas Dangel
2174fc287a
[doc] Update release notes (#1084, #4864) 2024-04-04 08:56:22 +02:00
Andreas Dangel
09714757ff
Add @emouty as a contributor 2024-04-04 08:45:30 +02:00
Andreas Dangel
bf2e5f970b
[doc] Update release notes (#4618, #3694) 2024-04-03 20:31:47 +02:00
Andreas Dangel
71633b4b2e
Merge branch 'master' into pr-4535 2024-04-03 20:13:36 +02:00
Juan Martín Sotuyo Dodero
d774e8ffd2
Merge branch 'master' into fix-4913 2024-04-03 12:16:26 -03:00
Juan Martín Sotuyo Dodero
f8d1b3b1d3 Update changelog, refs #4913 2024-04-03 12:13:24 -03:00
Clément Fournier
b16c8de4e0
doc and release notes 2024-04-02 20:21:34 +02:00
Andreas Dangel
a28943ae1b
Merge pull request #4909 from Monits:fix-4388
[pom] Properly navigate dependencyManagement node #4909
2024-04-02 19:48:21 +02:00
Andreas Dangel
34c3ec6e47
Merge pull request #4908 from oowekyala:issue4569-forloopcanbeforeach
[java] Fix #4569 issue with ForLoopCanBeForeach when stride is not 1 #4908
2024-04-02 19:23:25 +02:00
Andreas Dangel
115dee1db8
[doc] Update release notes (#4569) 2024-04-02 19:22:26 +02:00
Juan Martín Sotuyo Dodero
58f5d81608 Update changelog, refs #4388 2024-04-02 12:53:20 -03:00
Juan Martín Sotuyo Dodero
02e695ffdb Update changelog, refs #2056 2024-03-31 02:14:35 -03:00
Andreas Dangel
81637cfcbf
[doc] Update release notes (#4791, #4894) 2024-03-29 11:07:32 +01:00
Andreas Dangel
46cd5e0c96
Update @Scrates1 as a contributor 2024-03-29 11:05:22 +01:00
Clément Fournier
3efb468338
Merge branch 'master' into issue4435-unusedAssignment 2024-03-27 12:44:12 +01:00
Juan Martín Sotuyo Dodero
86154aa160
Merge pull request #4890 from adangel/issue-4886-BigIntegerInstatiation-Java17
[java] Fix BigIntegerInstantiation for < Java 19
2024-03-25 16:42:25 -03:00
Andreas Dangel
76e18e8969
Merge pull request #4884 from Monits/issue-3845
[java] Compute literal expressions for InsufficientStringBufferDeclaration
2024-03-25 20:31:22 +01:00
Clément Fournier
ac16be86e8
Merge branch 'master' into issue4435-unusedAssignment 2024-03-25 20:13:09 +01:00
Andreas Dangel
ac21a1a8c5
[java] Fix BigIntegerInstantiation for < Java 19
Fixes #4886
2024-03-25 19:30:06 +01:00
Andreas Dangel
3580c2462b
Add @Akromangel as a contributor 2024-03-25 19:27:17 +01:00
Andreas Dangel
53bac02cf5
Merge branch 'master' into issue-4873-suppress-catch-parameter 2024-03-25 18:45:39 +01:00
Juan Martín Sotuyo Dodero
ff263e29a0 Update changelog, refs #3845 2024-03-25 00:11:19 -03:00
Juan Martín Sotuyo Dodero
ebee9f63b0
Merge branch 'master' into issue-4847-new-string-char-array 2024-03-24 19:45:53 -03:00
Andreas Dangel
fb496b9ee3
[java] Fix ClassNamingConventions for dealing with abstract classes
Fixes #4881
2024-03-24 16:16:40 +01:00
Andreas Dangel
6d4172bcfe
Add @sdavids as a contributor 2024-03-24 16:15:58 +01:00
Andreas Dangel
aa056b5d73
[java] Revert changes to AvoidCatchingGenericException 2024-03-24 15:46:52 +01:00
Andreas Dangel
eda6bce015
[java] StringInstantiation - allow char[] constructor
Fixes #4874
2024-03-22 19:38:07 +01:00
Andreas Dangel
5670517396
[java] Consider ASTCatchParameter in AnnotationSuppressionUtil
Fixes #4873
2024-03-22 19:21:52 +01:00
Andreas Dangel
a2d8918dbd
[release] Prepare next development version [skip ci] 2024-03-22 09:35:44 +01:00
Andreas Dangel
32ef9d7488
Prepare pmd release 7.0.0 2024-03-22 08:17:21 +01:00
Andreas Dangel
ba63a16d4c
[doc] Fix styling for details sections
using parse_block_html:true destroyed shuffle_panel on index.md...
2024-03-21 11:12:17 +01:00
Andreas Dangel
40d7bad89b
Add @wangzitom12306 as a contributor 2024-03-21 11:12:17 +01:00
Andreas Dangel
73952508cc
[dist] Make mvnw executable in source dist zip
Fixes #4867
2024-03-21 11:12:16 +01:00
Andreas Dangel
307598e602
Merge pull request #4841 from adangel:issue-4817-UnusedPrivateMethod
[java] UnusedPrivateMethod - fix false positive with lambdas #4841
2024-03-18 19:30:04 +01:00
Andreas Dangel
3d74e40e66
Merge pull request #4848 from adangel:issue-4828-apex-null-coalescing
[apex] Add support for null coalescing operator (apex 60) #4848
2024-03-18 19:27:01 +01:00
Andreas Dangel
646549c610
Update release notes - external contributions 2024-03-18 19:24:38 +01:00
Andreas Dangel
bc29fa671b
Add @flxbl-io as a contributor 2024-03-18 19:15:47 +01:00
Andreas Dangel
cbc9d79ce7
Add @screamingfrog as a contributor 2024-03-18 19:14:59 +01:00
Andreas Dangel
90ecae91b7
Merge branch 'master' into issue-4817-UnusedPrivateMethod 2024-03-15 18:39:08 +01:00
Andreas Dangel
1b02df40a0
Merge branch 'master' into issue-4828-apex-null-coalescing 2024-03-15 18:35:59 +01:00
Juan Martín Sotuyo Dodero
4ce5cc824a
Merge branch 'master' into doc-release-notes-7 2024-03-15 13:45:08 -03:00
Andreas Dangel
2d3ab86412
[doc] Update Apex info - user mode database operations 2024-03-15 14:34:03 +01:00
Andreas Dangel
b79518191d
Merge pull request #4752 from 219sansim:fix_flaky_LatticeRelation
[core] Fix flaky LatticeRelationTest #4752
2024-03-15 13:46:21 +01:00
Andreas Dangel
7318b61423
[doc] Update release notes (#4752) 2024-03-15 13:44:59 +01:00
Andreas Dangel
d96c60b663
Merge pull request #4857 from oleksandr-shvets:UnnecessaryBlock-issues
[javascript] Fix UnnecessaryBlock issues with empty statements #4857
2024-03-14 20:48:02 +01:00
Andreas Dangel
dcc85136eb
[doc] Update release notes (#4857, #2305) 2024-03-14 20:43:45 +01:00
Andreas Dangel
55b3a418ce
Add @oleksandr-shvets as a contributor 2024-03-14 20:40:36 +01:00
Andreas Dangel
3156b88abe
[doc] Update release notes (#4562, #4556) 2024-03-14 20:19:34 +01:00
Andreas Dangel
4e5ef6ba59
Update @nwcm as a contributor 2024-03-14 20:18:10 +01:00
Andreas Dangel
89f6ca6bd7
Merge branch 'master' into issue-4828-apex-null-coalescing 2024-03-14 18:02:33 +01:00
Andreas Dangel
274497bbf4
[doc] Fix more external links 2024-03-14 16:53:48 +01:00
Andreas Dangel
9f862f9ac9
[doc] Fail doc generation for invalid jdoc links 2024-03-14 14:33:06 +01:00
Andreas Dangel
b739a8c412
Merge branch 'master' into doc-release-notes-7 2024-03-14 13:42:47 +01:00
Andreas Dangel
7668fe23d0
[doc] Prerender includes in release notes 2024-03-14 13:32:33 +01:00
Andreas Dangel
d54b8b3e8f
[core] Internalize deprecated default ctor of XPathRule 2024-03-14 12:31:16 +01:00
Andreas Dangel
adef8c29d5
[doc] Review links in release notes
Replace links with fixed urls
2024-03-14 12:30:31 +01:00
Andreas Dangel
fb90ba3e38
[doc] Review links in release notes
Replace links with fixed urls
2024-03-12 20:20:27 +01:00
Andreas Dangel
2dc91b3de5
Update gems
Add bigdecimal and csv module, to be ruby 3.4 ready
2024-03-12 19:33:10 +01:00
Andreas Dangel
873dea97ff
[doc] Review links in release notes
- fix javadoc links
2024-03-12 19:28:40 +01:00
Andreas Dangel
10aba575fa
[doc] Review links in release notes
- fix javadoc links
2024-03-11 18:18:57 +01:00