442 Commits

Author SHA1 Message Date
Robert Sösemann
f267a8f7c7 Fixed https://github.com/pmd/pmd/issues/792 2017-12-20 15:58:12 +01:00
Andreas Dangel
a975048655 [maven-release-plugin] prepare for next development iteration 2017-12-15 16:01:22 +01:00
Andreas Dangel
9b6fe90225 [maven-release-plugin] prepare release pmd_releases/6.0.0 2017-12-15 16:01:14 +01:00
Andreas Dangel
d6a9be55a8 Unify rule category names 2017-12-15 11:22:33 +01:00
Andreas Dangel
a86aea2379 [apex] Create separate module "pmd-apex-jorje" which provides the apex jorje parser 2017-12-06 20:14:03 +01:00
Andreas Dangel
6a5e49efee [apex] Attach apex jorje jar using classifier "apex-jorje" 2017-12-05 22:34:43 +01:00
Andreas Dangel
38bc6bf1fa [apex] Fix suppress warnings support 2017-12-04 21:44:57 +01:00
Andreas Dangel
892a673c9f [apex] Remove empty catches, fix old reflections calls in Helper 2017-12-04 21:44:57 +01:00
Andreas Dangel
dbcd36cd7a [apex] Fix ApexCRUDViolation rule
- reflection not necessary anymore
- constructor is now not anymore returned
as <init> but as the actual name
2017-12-04 21:44:57 +01:00
Andreas Dangel
7f8c8a0854 [apex] Fix line/column numbering 2017-12-04 21:44:57 +01:00
Andreas Dangel
29c7061bde [apex] Adjust to new apex jorje 2017-12-04 21:44:52 +01:00
Andreas Dangel
6caad3485c [apex] Add script to create minimized apex jorje jar, add jar as dependency 2017-12-04 21:14:27 +01:00
Andreas Dangel
7fa49aacc6 [apex] Declare transitive dependencies 2017-12-04 21:13:54 +01:00
Clément Fournier
2c94dd993d Corrections for PR #771 2017-11-30 19:31:11 +01:00
Clément Fournier
41a6b78231 Revert back to __ from :: for Apex namespaces 2017-11-30 18:38:11 +01:00
Clément Fournier
41a3202a18 Fix Apex metrics framework failing on triggers, refs #768 2017-11-30 15:22:26 +01:00
Juan Martín Sotuyo Dodero
309b964441 [apex] Avoid FPs on non-existing else block
- IfElseStatement always has 2 BlockStatements, for the if and the
   else, even if not present on the code. When that happens, the phantom
   block is given the same location the parent has.
 - Fixes #760
2017-11-27 10:43:23 -03:00
Andreas Dangel
6bba28acbe Add categories.properties files 2017-11-07 22:23:17 +01:00
Juan Martín Sotuyo Dodero
8d381daeb3 Merge branch 'pr-669' 2017-11-04 19:40:14 -03:00
Juan Martín Sotuyo Dodero
5d6a03612e Rename builder method 2017-11-04 19:19:39 -03:00
Andreas Dangel
e064efbad3 [apex] Move AvoidHardCodingId Rule to errorprone 2017-11-04 20:16:04 +01:00
Andreas Dangel
7e3b3fbff5 [apex] Update code climate ruleset 2017-11-03 14:45:27 +01:00
Andreas Dangel
8c53cb8879 [apex] Move rules and tests to new packages 2017-11-03 14:25:26 +01:00
Andreas Dangel
e9425e34d8 [apex] Reorganize rules into categories 2017-11-03 14:05:40 +01:00
Clément Fournier
fc0cb45f49 Merge branch 'master' into properties-builder 2017-11-01 18:21:54 +01:00
Clément Fournier
6b50104cb5 Corrections for PR #669 2017-11-01 18:17:57 +01:00
Juan Martín Sotuyo Dodero
2d15c6dba6 Merge branch 'pr-661' 2017-10-19 00:42:27 -03:00
Juan Martín Sotuyo Dodero
8ef0d6989c Move AvoidHardcodingIdRule to style ruleset 2017-10-18 23:58:44 -03:00
Juan Martín Sotuyo Dodero
e3f9c728d7 content update 2017-10-18 23:51:01 -03:00
Andreas Dangel
ffcf5cb704 [apex] Remove shading for the apex modules - not needed anymore
Fixes #605. The apex modules do not contain any non-apex code anymore
(not an uber-jar anymore).

Explicitely defining asm as runtime dependency.
2017-10-16 21:26:12 +02:00
Clément Fournier
a47471f742 Replace IntegerProperty 2017-10-15 22:22:36 +02:00
Jan Aertgeerts
475405e18f [apex] test issue - count 2017-10-09 23:43:43 +02:00
Jan Aertgeerts
9845f74f68 [apex] rework visit 2017-10-09 23:35:14 +02:00
Jan Aertgeerts
6989b45067 [apex] avoid hardcoding id's 2017-10-09 23:24:47 +02:00
Juan Martín Sotuyo Dodero
6000bcb2e2 Merge branch 'pr-660' 2017-10-09 15:51:11 -03:00
Jan Aertgeerts
96de1715cd [apex] avoid sosl in loops 2017-10-09 16:04:54 +02:00
Juan Martín Sotuyo Dodero
60c87ff783 Merge branch 'pr-625' 2017-10-08 20:20:10 -03:00
Juan Martín Sotuyo Dodero
33804aa08f Merge branch 'pr-632' 2017-10-08 19:45:38 -03:00
Jan Aertgeerts
dedf954cb0 [apex] move to style ruleset and add literal expression in arrayload exception 2017-10-07 23:28:38 +02:00
Andreas Dangel
1c3049ee6c Fix checkstyle 2017-10-06 21:07:25 +02:00
Juan Martín Sotuyo Dodero
d5a83ae807 Revert "Revert "Merge branch 'pr-287'""
This reverts commit 63ea1906afacc108871bb42c8e98d1e684df58c8.
2017-10-05 17:03:57 -03:00
Juan Martín Sotuyo Dodero
d192c5668b Merge branch 'pr-646' 2017-09-30 19:16:57 -03:00
Andreas Dangel
3f2610ea21 Merge branch 'pr-602' 2017-09-29 11:21:26 +02:00
Andreas Dangel
f7d67df442 Remove ruleset schema 3.0.0 2017-09-29 11:20:37 +02:00
Andreas Dangel
577ef1ff71 Declaring used dependencies explicitly
as determined by dependency:analyze
2017-09-24 10:39:49 +02:00
Andreas Dangel
ade0d7d029 Update compiler plugin, use "release" option, adjust java.version properties
No need for the toolchain plugin anymore
2017-09-23 19:24:17 +02:00
Clément Fournier
d12e70aab5 Truly disable multifile 2017-09-22 01:04:48 +02:00
Jan Aertgeerts
2639b4fe66 [apex] Add AvoidDirectAccessTriggerMap rule to the performance set 2017-09-20 12:42:22 +02:00
Jan Aertgeerts
8bc6810196 [apex] add empty statement block rule 2017-09-19 10:21:55 +02:00
Jan Aertgeerts
a890dbf68c [apex] use correct AST 2017-09-18 20:12:57 +02:00