24379 Commits

Author SHA1 Message Date
Clément Fournier
59d931cd91 Merge remote-tracking branch 'upstream/pmd/7.0.x' into text-utils-simple 2022-07-10 13:50:03 +02:00
Clément Fournier
535c74bb1e Fix code style 2022-07-10 12:50:06 +02:00
Clément Fournier
6d6e1907a8 Merge remote-tracking branch 'upstream/pmd/7.0.x' into xml-messages-in-ruleset-parser 2022-07-09 11:26:02 +02:00
Andreas Dangel
092e3d4fc9 [java] Fix rules TooManyMethods and FinalFieldCouldBeStatic 2022-07-07 16:33:00 +02:00
Andreas Dangel
bd830daea0 Merge branch 'master' into pmd/7.0.x 2022-07-07 16:14:35 +02:00
Andreas Dangel
c83987f942 Merge pull request #3994 from 341816041:handling_issue_3729
[java] TooManyMethods - improve getter/setter detection (#3729) #3994
2022-07-07 15:59:33 +02:00
Andreas Dangel
3394263ec7 Merge pull request #3992 from dalizi007:parenthesis_iss#3949
[java] FinalFieldCouldBeStatic - fix false negative with unnecessary parenthesis #3992
2022-07-07 15:58:09 +02:00
Andreas Dangel
78e4ca6c04 [doc] Update release notes (#4015) 2022-07-07 15:42:13 +02:00
Andreas Dangel
13b55a8b9b [java] Verify that "when" can indeed still be used as identifier 2022-07-07 15:41:44 +02:00
Andreas Dangel
32a76bd602 [java] Remove language version 17-preview 2022-07-07 15:24:49 +02:00
Andreas Dangel
a5b68ddfcf [java] Add support for RecordPatterns
See JEP 405
2022-07-07 15:06:52 +02:00
Andreas Dangel
eeeccde494 [java] Update implementation for "Pattern Matching for switch"
See JEP 427
This is a preview feature
2022-07-07 15:03:20 +02:00
Andreas Dangel
2b6774e750 Bump org.ow2.asm:asm from 9.2 to 9.3 2022-07-07 11:06:20 +02:00
Andreas Dangel
eb53daa2c2 [java] Add new language versions 19 and 19-preview 2022-07-07 10:44:13 +02:00
Andreas Dangel
71b5855d76 [doc] Update release notes (#3729, #3994) 2022-07-07 10:09:48 +02:00
Andreas Dangel
53747dd9ee Add @341816041 as a contributor 2022-07-07 10:09:31 +02:00
Andreas Dangel
8f3c7ee71d [java] Improve TooManyMethods (#3994) 2022-07-07 10:07:35 +02:00
Andreas Dangel
5fa2a6b976 Merge branch 'master' into pr-3994 2022-07-07 09:49:43 +02:00
Andreas Dangel
0a68e204b9 [doc] Update release notes (#3992, #3949) 2022-07-07 09:47:51 +02:00
Andreas Dangel
a168bc239c [java] Improve FinalFieldCouldBeStatic (#3992) 2022-07-07 09:35:15 +02:00
Andreas Dangel
fbb542688e Merge branch 'master' into pr-3992 2022-07-07 09:03:50 +02:00
Andreas Dangel
8f6a17404c [core] Undo changes in CoreCliTest
The test run in IntelliJ will be fixed by #4032
2022-07-01 19:52:28 +02:00
Andreas Dangel
4d3ccc2066 Merge branch 'pmd/7.0.x' into pmd7-downgrade-slf4j 2022-07-01 19:47:04 +02:00
Andreas Dangel
d54d08ce8a Make PlainTextLanguage.TextLvh final
Fixes pmd dogfood
2022-07-01 19:31:16 +02:00
Andreas Dangel
a7340fce4c [gherkin] Migrate to PMD 7 2022-07-01 15:09:46 +02:00
Andreas Dangel
c79db6e5f3 [kotlin] Mark kotlin language module @Experimental 2022-07-01 14:59:39 +02:00
Andreas Dangel
f8e9adf2c5 [java] Fix WhileLoopWithLiteralBoolean tests 2022-07-01 14:56:33 +02:00
Andreas Dangel
82245b0794 [core] Fix compile errors with PlainTextLanguage 2022-07-01 14:43:46 +02:00
Andreas Dangel
e6e1bfb62a Merge branch 'master' into pmd/7.0.x 2022-07-01 14:30:58 +02:00
Andreas Dangel
19a6b38bbd Merge pull request #3988 from VoidxHoshi:master
[java] Modify WhileLoopWithLiteralBoolean to meet the missing case #3455 #3988
2022-07-01 14:02:25 +02:00
Clément Fournier
5a87894b44 Merge remote-tracking branch 'upstream/master' into pmd6-extract-test-schema-module 2022-07-01 13:02:35 +02:00
Andreas Dangel
a191bcb2f8 Merge pull request #3984 from LiGaOg:master
[java] Fix AddEmptyString false-negative issue #3984
2022-07-01 12:29:21 +02:00
Andreas Dangel
7557abb739 Update pmd-java/src/main/resources/category/java/performance.xml 2022-07-01 12:25:13 +02:00
Andreas Dangel
c82505353c [doc] Update release notes (#3455, #3988) 2022-07-01 12:23:25 +02:00
Andreas Dangel
6fb5b3b960 [java] Improve WhileLoopWithLiteralBoolean (#3988) 2022-07-01 12:20:23 +02:00
Andreas Dangel
0abfa1bd72 Merge branch 'master' into pr-3988 2022-07-01 11:16:27 +02:00
Andreas Dangel
f15cd8febc [java] AddEmptyString - fix false positive with scoping 2022-07-01 11:10:02 +02:00
Andreas Dangel
cfcfa32dfb [doc] Update release notes (#3984, #3625) 2022-07-01 10:55:01 +02:00
Andreas Dangel
d333e09f3d [java] Improve AddEmptyString (#3984) 2022-07-01 10:52:27 +02:00
Maikel Steneker
4d7890112d Move sorting to CPDReport class 2022-07-01 10:34:26 +02:00
Maikel Steneker
f4dd873fc2 Remove catch from test case 2022-07-01 10:34:17 +02:00
Andreas Dangel
41798069a1 Merge branch 'master' into pr-3984 2022-07-01 10:31:08 +02:00
Andreas Dangel
06e166adec Merge pull request #4017 from tiobe:feature_gherkin
Add Gherkin support to CPD #4017
2022-07-01 09:20:30 +02:00
Andreas Dangel
ed6ac96e49 [doc] Update release notes (#4017) 2022-07-01 09:18:03 +02:00
Andreas Dangel
326c03d5a4 Add @ASBrouwers as a contributor 2022-07-01 09:14:34 +02:00
Andreas Dangel
b14d51829d [gherkin] Move CPD classes into specific gherkin package 2022-07-01 09:06:06 +02:00
Andreas Dangel
fb79f527e8 [core] Avoid closing stdout for CPD as well 2022-06-30 20:05:13 +02:00
Andreas Dangel
5d3ffca1fc Fix imports (checkstyle) 2022-06-30 19:43:40 +02:00
Andreas Dangel
157e623c68 [core] If report is written to stdout, stdout should not be closed
Fixes #4031
2022-06-30 19:24:47 +02:00
Andreas Dangel
eb87e074a1 Merge pull request #4024 from oowekyala:pmd6-plain-text-lang
[core] Add plain text language #4024
2022-06-30 18:25:32 +02:00