740 Commits

Author SHA1 Message Date
Juan Martín Sotuyo Dodero
96bb1f4bc7 [core] Support parent-last classloading
- We will now always load classes from auxclasspath during
typeresolution, even if we have a class with the same name in PMD's
classpath
 - This prevents conflicts when using different versions of the same
dependencies
2017-10-23 14:23:05 -03:00
Juan Martín Sotuyo Dodero
fc3da283bd Merge branch 'pr-666' 2017-10-17 13:43:52 -03:00
Juan Martín Sotuyo Dodero
30aa7fca11 Add DoNotExtendJavaLangThrowable to release ruleset 2017-10-17 13:35:45 -03:00
Juan Martín Sotuyo Dodero
2e3e884426 Merge branch 'pr-665' 2017-10-17 13:13:06 -03:00
Andreas Dangel
4f2c7960e6 Update changelog, refs #668 2017-10-16 21:18:06 +02:00
Clément Fournier
a986e38b3d Merge branch 'master' of https://github.com/pmd/pmd into fx-designer 2017-10-16 13:54:30 +02:00
Clément Fournier
c50311bd85 Correct formatter 2017-10-16 00:08:56 +02:00
Clément Fournier
a47471f742 Replace IntegerProperty 2017-10-15 22:22:36 +02:00
Clément Fournier
d891fe048a Fix javadoc warnings on pmd-core 2017-10-15 22:07:34 +02:00
Clément Fournier
13f3651048 Cleanup 2017-10-15 21:56:09 +02:00
Clément Fournier
57631bfb30 Few PoCs 2017-10-15 19:59:58 +02:00
Clément Fournier
12855d3cf2 Fix tests 2017-10-15 18:02:24 +02:00
Clément Fournier
6295a96783 Refactored everything 2017-10-15 17:50:02 +02:00
Clément Fournier
2c16faff36 Refactor numeric properties 2017-10-15 16:45:26 +02:00
Clément Fournier
2d449dbef6 Full builder hierarchy 2017-10-15 16:30:14 +02:00
Clément Fournier
610cd21a9c Clarify design 2017-10-15 15:58:23 +02:00
Clément Fournier
2e272c3f7b More mature design w/ small PoC 2017-10-15 14:42:44 +02:00
Clément Fournier
aff5f20112 Draft of builders 2017-10-15 13:08:47 +02:00
Andreas Dangel
944b2f448b [java] Move rule SignatureDeclareThrowsException from typeresolution to strictexception
Replace existing rule with the typeresolution-based implementation.
2017-10-13 14:04:27 +02:00
Andreas Dangel
8470d32322 [java] Move rule UnusedImports from typeresolution to imports
Replace existing rule with the typeresolution-based implementation.
2017-10-13 12:54:26 +02:00
Andreas Dangel
a89d449169 [java] Move rule CloneMethodMustImplementCloneable from typeresolution to clone
Replace existing rule with the typeresolution-based implementation.
2017-10-13 12:37:04 +02:00
Andreas Dangel
2ef082ae19 [java] Move rule LooseCoupling from typeresolution to coupling
Replace existing rule with the typeresolution-based implementation.
2017-10-13 12:36:36 +02:00
Juan Martín Sotuyo Dodero
a81d142317 [core] Avoid a phony warning about not using cache
- Avoid creating a NoopAnalysisCache by default to prevent a phony
warning about not using the cache being printed.
 - This way, we only produce a new instance lazily if not configured,
preserving the same behaviour bu without the warning.
2017-10-10 00:46:07 -03:00
Juan Martín Sotuyo Dodero
6000bcb2e2 Merge branch 'pr-660' 2017-10-09 15:51:11 -03:00
Juan Martín Sotuyo Dodero
4dcef95e43 Add new apex-performance/AvoidSoslInLoops rule to 600 ruleset 2017-10-09 15:44:20 -03:00
Juan Martín Sotuyo Dodero
60c87ff783 Merge branch 'pr-625' 2017-10-08 20:20:10 -03:00
Juan Martín Sotuyo Dodero
3c067d8071 Add references to 6.0.0 release ruleset 2017-10-08 19:55:32 -03:00
Juan Martín Sotuyo Dodero
33804aa08f Merge branch 'pr-632' 2017-10-08 19:45:38 -03:00
Juan Martín Sotuyo Dodero
9b28bdbe86 Add AvoidDirectAccessTriggerMap to 6.0.0 release rs 2017-10-08 19:37:16 -03:00
Andreas Dangel
61376f8112 [core] add temporary support for maven debug output
refs #650
2017-10-07 21:28:56 +02:00
Andreas Dangel
c0302cd314 [java] check for parsing/processing errors in unit test 2017-10-05 22:40:37 +02:00
Clément Fournier
e96604dec2 Merge branch 'master' of https://github.com/pmd/pmd into fx-designer 2017-10-01 17:49:28 +02:00
Juan Martín Sotuyo Dodero
f7c0437470 Merge branch 'pr-644' 2017-09-30 18:40:48 -03:00
Juan Martín Sotuyo Dodero
5d51df880a Add JUnit test to validate output 2017-09-30 18:37:04 -03:00
Andreas Dangel
d7c1dac59a Merge branch 'pr-619' 2017-09-30 11:31:27 +02:00
Andreas Dangel
72db0dfc07 Merge branch 'pr-616' 2017-09-30 10:39:04 +02:00
Andreas Dangel
e60d1c2a24 Merge branch 'pr-615' 2017-09-29 19:42:11 +02:00
Andreas Dangel
66b67a8a95 Merge branch 'pr-614' 2017-09-29 14:16:29 +02:00
Andreas Dangel
f59ec03db1 Merge branch 'pr-612' 2017-09-29 11:42:08 +02: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
5bfff7615f Add missing entity resolver in unit test 2017-09-27 21:20:45 +02:00
Filipe Esperandio
a4c1150891 Fix wrong internal property name 2017-09-22 17:18:48 -03:00
Filipe Esperandio
4d01d2c6d5 Remove import 2017-09-22 17:13:01 -03:00
Filipe Esperandio
c6aaf3fbc4 Prevent internal dev-properties from being displayed on CodeClimate's documentation markdown 2017-09-22 17:10:10 -03:00
Clément Fournier
d12e70aab5 Truly disable multifile 2017-09-22 01:04:48 +02:00
Andreas Dangel
9e55969eb1 Merge branch 'pr-601' 2017-09-16 16:18:17 +02:00
Andreas Dangel
4272674488 Merge branch 'pr-593' 2017-09-15 11:07:56 +02:00
Andreas Dangel
7ec56e37b0 Merge branch 'pr-592' 2017-09-15 10:59:14 +02:00
Juan Martín Sotuyo Dodero
02fc43737a Remove commented default access modifier 2017-09-14 11:47:52 -03:00