11923 Commits

Author SHA1 Message Date
Andreas Dangel
5eb3ecd5ad [core] Make sure, a language with empty version selects the default version 2017-12-15 12:02:04 +01:00
Andreas Dangel
d6a9be55a8 Unify rule category names 2017-12-15 11:22:33 +01:00
Andreas Dangel
998cad8595 [java] fix PMDCoverageTest ruleset 2017-12-15 11:13:35 +01:00
Andreas Dangel
bd77ba6a0f [ci] Go back to java8 in order to include scala in the release 2017-12-15 11:05:36 +01:00
Andreas Dangel
a61b2e16c1 [scala] Properly activate/decativate scala depending on java version 2017-12-15 10:58:09 +01:00
Andreas Dangel
02fadc1689 [core] Fix classloader closed issue when executing Ant task
Note: the problem (ClassNotFoundExceptions) only shows up with java8
- with java9 the classloader seems to be still usable, even after
we closed it...
2017-12-15 10:32:06 +01:00
Andreas Dangel
99d1e96b1b [doc] Update doc regarding properties
refs #504, refs #762
2017-12-11 19:50:33 +01:00
Andreas Dangel
7e5c272f17 release notes: add missing toc entry 2017-12-09 10:44:39 +01:00
Travis CI (pmd-bot)
5ae9607cfc Update documentation 2017-12-09 09:42:47 +00:00
Andreas Dangel
c8645440f2 Update release notes with new rules 2017-12-09 10:24:30 +01:00
Andreas Dangel
1bdb412c09 Merge branch 'pr-764' 2017-12-09 10:12:12 +01:00
Andreas Dangel
060848a455 Update release notes, refs #764
closes #762
closes #763
2017-12-09 10:11:10 +01:00
Andreas Dangel
2f4e1ba20d Update release notes, closes #766 2017-12-09 09:44:29 +01:00
Juan Martín Sotuyo Dodero
83c15e2e45 Merge branch 'pr-774' 2017-12-08 00:59:32 -03:00
Juan Martín Sotuyo Dodero
9c832e3ac5 Update changelog, refs #774 2017-12-08 00:59:03 -03:00
Juan Martín Sotuyo Dodero
0f9e521ea7 Update docs 2017-12-08 00:54:48 -03:00
Juan Martín Sotuyo Dodero
3817dc2782 Improve docs 2017-12-08 00:42:56 -03:00
Juan Martín Sotuyo Dodero
53a9449141 Use autogenerated versions of docs 2017-12-08 00:39:29 -03:00
Travis CI (pmd-bot)
5a228d2b6f Update documentation 2017-12-08 01:56:40 +00:00
Juan Martín Sotuyo Dodero
b32644c744 Merge branch 'pr-775' 2017-12-07 22:48:36 -03:00
Juan Martín Sotuyo Dodero
dc75904de6 Make sure we only recomend this to "modern" JVMs 2017-12-07 22:48:08 -03:00
Juan Martín Sotuyo Dodero
8accdf01a4 Merge branch 'pr-733' 2017-12-07 22:41:15 -03: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
Travis CI (pmd-bot)
e8023e8913 Update documentation 2017-12-04 04:41:05 +00:00
Juan Martín Sotuyo Dodero
2ff93cc82e Merge branch 'pr-772' 2017-12-04 01:33:05 -03:00
Travis CI (pmd-bot)
8405ce3d65 Update documentation 2017-12-03 18:48:50 +00:00
Andreas Dangel
b3a7271b98 Merge branch 'pr-771' 2017-12-03 19:32:19 +01:00
Andreas Dangel
83b2e91f3d Update release notes, closes #768 2017-12-03 19:22:11 +01:00
Andreas Dangel
07cb937d6e [java] Update OptimizableToArrayCall rule for current JVMs
See https://sourceforge.net/p/pmd/bugs/1454/
and https://shipilev.net/blog/2016/arrays-wisdom-ancients/
2017-12-01 11:41:23 +01:00
Chas Honton
ac36d678bb Updates per suggestions; merge four rules into one 2017-11-30 21:53:48 -08:00
Chas Honton
51241368b3 Avoid using FileInput/Output - see JDK-8080225 2017-11-30 20:10:04 -08:00
Andreas Dangel
e84800b34c Update ruleset factory compatibility 2017-11-30 22:54:07 +01:00
Andreas Dangel
0f96c82695 Update release notes, closes #457 2017-11-30 22:49:34 +01:00
Andreas Dangel
5e3b4504d8 [java] Remove old rules GuardDebugLogging and GuardLogStatementJavaUtil 2017-11-30 22:48:01 +01:00
Andreas Dangel
1447ac8a4a [java] Merge GuardDebugLogging and GuardLogStatementJavaUtil into
the rule GuardLogStatement
2017-11-30 22:38:14 +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
Clément Fournier
36ba0e9581 Add a handle on the value parser of the property 2017-11-30 11:34:44 +01:00
Clément Fournier
53f6c39f65 Make the constants available from the string type id 2017-11-29 00:18:40 +01:00
Clément Fournier
b81158ecf0 Convert PropertyDescriptorUtil to an enum and enrich its interface
refs #763
2017-11-28 19:44:24 +01:00
Clément Fournier
539d541ffd Hide factories of MethodProperty, MethodMultiProperty, FileProperty from XPath rules
refs #762
2017-11-28 19:02:29 +01:00