966 Commits

Author SHA1 Message Date
Clément Fournier
5b7ed588ea Make CPD end column exclusive
This is to align it with PMD columns,
which in 7.0 are already exclusive.
2020-06-19 02:21:45 +02:00
Clément Fournier
c49d9e315f Merge branch 'master' into 7.0.x 2020-06-19 01:32:32 +02:00
Andreas Dangel
534bfe3c55 Merge branch 'pr-2572'
[cpd] Allow CPD tests based on a text dump #2572
2020-06-18 20:09:58 +02:00
Andreas Dangel
ff6075135f Merge branch 'master' into pmd/7.0.x 2020-06-18 15:22:37 +02:00
Andreas Dangel
45d3c07201 Merge branch 'pr-2556'
[apex] Exception applying rule UnusedLocalVariable on trigger #2556
2020-06-18 15:01:25 +02:00
Clément Fournier
2592c56229 Make apex end column inclusive 2020-06-17 20:03:16 +02:00
Clément Fournier
8e47ed3188 Merge branch 'master' into cpd-text-comp 2020-06-17 20:00:50 +02:00
Clément Fournier
d631b79307 Deprecate stuff for #2491 2020-06-14 21:36:33 +02:00
Clément Fournier
d3d75fa0b9 Merge branch '7.0.x' into apex-single-rootnode-2 2020-06-14 19:04:45 +02:00
Clément Fournier
fb0819f319 Convert Apex tests 2020-06-14 00:29:58 +02:00
Andreas Dangel
c3219b91c5 Merge branch 'master' into pmd/7.0.x 2020-06-12 14:21:10 +02:00
Andreas Dangel
8defb2fde2 Add missing relativePath configuration in all pom modules 2020-06-07 12:36:58 +02:00
Andreas Dangel
c680b260b9 [apex] Exception applying rule UnusedLocalVariable on trigger
Fixes #2554
2020-05-30 11:08:44 +02:00
Andreas Dangel
ab04bdacdd [maven-release-plugin] prepare for next development iteration 2020-05-24 17:34:34 +02:00
Andreas Dangel
229cb2bdca [maven-release-plugin] prepare release pmd_releases/6.24.0 2020-05-24 17:34:25 +02:00
Andreas Dangel
2dae9c085f Merge branch 'master' into pmd/7.0.x 2020-05-23 11:42:20 +02:00
Andreas Dangel
e1cd3b4c8d Merge branch 'pr-2487'
[all] Cleanup rule test xml #2487
2020-05-22 19:41:01 +02:00
Andreas Dangel
6049126228 Merge branch 'pr-2465'
[dependencies] Upgrade hamcrest, mockito and JUnit #2465
2020-05-22 11:46:04 +02:00
Clément Fournier
584ccc806b Remove useless implements Node 2020-05-18 16:21:04 +02:00
Clément Fournier
e198b6afb5 Fix tests 2020-05-18 16:08:25 +02:00
Clément Fournier
00a2497c9d Make apex version available 2020-05-18 16:08:25 +02:00
Clément Fournier
39ff1145c4 Remove apex CanSuppressWarnings 2020-05-18 16:08:25 +02:00
Clément Fournier
e248bac57b Make apex have a single root node 2020-05-18 16:08:25 +02:00
Clément Fournier
dfb1c2f080 Simplify apex parser 2020-05-18 16:08:25 +02:00
Andreas Dangel
f930491538 [apex] Cleanup rule test xml files
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:55:58 +02:00
Clément Fournier
b3db34042f Merge branch 'master' into 7.0.x 2020-05-13 17:47:21 +02:00
Gwilym Kuiper
3571608234 Handle chained method calls.
This wasn't working because they had a null image. Turns out that nodes
have a method called `hasImageEqualTo` which handles the null case for
us.
2020-05-06 11:26:14 +01:00
Gwilym Kuiper
acbf53e8ab Variable is used if method is called on it 2020-05-06 11:11:13 +01:00
Artem Krosheninnikov
3fba3f6217 Update hamcrest to 2.2, Junit to 4.13, mockito to 2.28.2 2020-05-04 23:00:28 +03:00
Andreas Dangel
522e98b65f Merge branch 'pr-2446'
[core] Update maven-compiler-plugin to 3.8.1 #2446
2020-04-30 19:29:38 +02:00
Clément Fournier
bd835c0bb5 Merge branch '7.0.x' into cleanup-abstract-node 2020-04-29 09:19:00 +02:00
Clément Fournier
bb9341ed7c Merge branch 'master' into 7.0.x 2020-04-28 08:24:56 +02:00
Andreas Dangel
4192f04c1d [apex] clarify AvoidGlobalModifier, refs #2298 2020-04-27 19:41:33 +02:00
Clément Fournier
1bb7e3d6e7 Checkstyle 2020-04-26 21:44:36 +02:00
Clément Fournier
7e10867973 Fix apex module 2020-04-26 21:38:38 +02:00
Clément Fournier
1a6d7b393c Add a type parameter to AbstractNode 2020-04-26 19:04:31 +02:00
Clément Fournier
13e414c73d Add insertChild 2020-04-26 18:28:47 +02:00
Clément Fournier
7028157808 Ensure Parser returns a RootNode 2020-04-26 17:29:27 +02:00
Clément Fournier
24a9bf5df6 Merge branch '7.0.x' into cleanup-abstract-node 2020-04-26 17:03:28 +02:00
Artem Krosheninnikov
3a72f3c4fa update maven-compiler-plugin to 3.8.1 and remove workaround for a bug in IDEA that was closed 2020-04-26 14:27:37 +03:00
Andreas Dangel
88f2b95562 Merge branch 'master' into pmd/7.0.x 2020-04-24 11:04:05 +02:00
Andreas Dangel
4308c545e5 [maven-release-plugin] prepare for next development iteration 2020-04-24 10:53:12 +02:00
Andreas Dangel
921c65f5ab [maven-release-plugin] prepare release pmd_releases/6.23.0 2020-04-24 10:53:00 +02:00
Andreas Dangel
96d542c00d Prepare pmd release 6.23.0 2020-04-24 10:42:57 +02:00
Clément Fournier
11d7aeb10f Add GenericNode & JjtreeNode interfaces 2020-04-23 19:59:52 +02:00
Clément Fournier
0735011c7c Move AbstractNode in .impl package 2020-04-23 19:59:52 +02:00
Clément Fournier
3cfa9cb6de Merge AbstractApexNode[Base] 2020-04-23 19:59:51 +02:00
Clément Fournier
13cacee11f Cleanup AbstractNode 2020-04-23 19:59:51 +02:00
Clément Fournier
0b776f338a Merge branch 'master' into 7.0.x 2020-04-23 19:39:20 +02:00
Clément Fournier
96e9127eae Cleanup TooManyFieldsRule
It used a descendant check unnecessarily,
can use the rulechain now
2020-04-23 19:33:55 +02:00